Expand description
This module defines the socket-like interface for Session protocol.
Modules§
- ack_
state - This module defines the
SocketStatethat turnsSessionSocketinto a reliable socket, with segment/frame retransmission and frame acknowledgements. - loss_
report 🔒 - Summarises dropped frames and duplicate segments received by a
SessionSocket. - loss_
signal - A live signal of frame loss that a Session’s owner can read.
- state
Structs§
- Session
Socket - Socket-like object implementing the Session protocol that can operate on any transport that
implements [
futures::io::AsyncRead] and [futures::io::AsyncWrite]. - Session
Socket Config - Configuration object for
SessionSocket.
Enums§
Functions§
- log_
state_ 🔒update_ error - Logs a failed update of the socket state.