lucaspoffo / renet

Server/Client network library for multiplayer games with authentication and connection management made with Rust
Apache License 2.0
685 stars 68 forks source link

Impl `Error` for `DisconnectReason` #152

Closed Shatur closed 9 months ago

Shatur commented 9 months ago

I recently abstracted all I/O in my crate (https://github.com/projectharmonia/bevy_replicon/pull/204) and noticed that DisconnectReason doesn't implement Error. I think it logically makes sense and would help me to create a more convenient abstraction around disconnect events.