Enum ockam_transport_tcp::TcpError [−][src]
pub enum TcpError { SendBadMessage, RecvBadMessage, BindFailed, ConnectionDrop, AlreadyConnected, PeerNotFound, PeerBusy, UnknownRoute, InvalidAddress, GenericIo, }
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
impl TcpError
[src]
impl TcpError
[src]pub const DOMAIN_CODE: u32
[src]
Integer code associated with the error domain.
pub const DOMAIN_NAME: &'static str
[src]
Error domain
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TcpError
impl RefUnwindSafe for TcpError
impl UnwindSafe for TcpError
impl UnwindSafe for TcpError
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,