Enum msgpacknet::Error
[−]
[src]
pub enum Error<N> where N: NodeId {
AlreadyClosed,
OpenError,
ConnectionError,
SendError,
ReadError,
NotConnected(N),
ConnectionAborted,
CloseError,
}
The error type used througout the crate
Variants
AlreadyClosed | The node has already been closed |
OpenError | Failed to open a node socket |
ConnectionError | Failed to establish a connection |
SendError | Failed to send a message |
ReadError | Failed to receive a message |
NotConnected | Failed to send a message because there is no connection to the destination |
ConnectionAborted | Connection aborted in the initialization phase |
CloseError | Failed to close a socket |