Enum ockam_transport_tcp::TcpError [−][src]
pub enum TcpError { SendBadMessage, RecvBadMessage, BindFailed, ConnectionDrop, AlreadyConnected, PeerNotFound, PeerBusy, UnknownRoute, InvalidAddress, GenericIo, }
Expand description
A TCP connection worker specific error type
Variants
Failed to send a malformed message
Failed to receive a malformed message
Failed to bind to the desired socket
Connection was dropped unexpectedly
Connection was already established
Connection peer was not found
Peer requected the incoming connection
Failed to route to an unknown recipient
Failed to parse the socket address
A generic I/O failure
Implementations
Integer code associated with the error domain.
Error domain
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TcpError
impl UnwindSafe for TcpError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more