lucaspoffo / renet

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

Impl `Error` for `DisconnectReason` #152

Closed Shatur closed 7 months ago

Shatur commented 7 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.