Module state

Source
Expand description

Socket states

psp-net sockets implement the Type State Pattern, and here are defined the different possible states of this crate’s sockets.

Note that not all sockets may implement all of these states.

Structs§

Bound
Socket is in a bound state
Connected
Socket is in a connected state
NotReady
Socket is not ready to send or receive data
Ready
Socket is ready to send or receive data
Unbound
Socket is in an unbound state

Traits§

SocketState
Trait describing the state of a socket