Expand description
Per-peer connection API returned by crate::listener::Listener.
Connection offers message-oriented send/recv methods.
ConnectionIo adapts it to Tokio AsyncRead / AsyncWrite.
Modules§
Structs§
- Connection
- Connection
Id - Stable identifier for a
Connection. - Connection
Io - Tokio AsyncRead/AsyncWrite adapter over
Connection. - Connection
Metadata - Immutable connection identity snapshot.
Enums§
- Connection
Close Reason - Local close reason recorded by
Connection. - Recv
Error - Receive-side errors from
Connection::recv/Connection::recv_bytes. - Remote
Disconnect Reason - Remote-side reason mapped from RakNet disconnect semantics.