Enum libp2p_core::connection::ConnectionError [−][src]
pub enum ConnectionError<THandlerErr> {
IO(Error),
Handler(THandlerErr),
}Expand description
Errors that can occur in the context of an established Connection.
Variants
IO(Error)An I/O error occurred on the connection.
The connection handler produced an error.
Trait Implementations
Auto Trait Implementations
impl<THandlerErr> !RefUnwindSafe for ConnectionError<THandlerErr>impl<THandlerErr> Send for ConnectionError<THandlerErr> where
THandlerErr: Send, impl<THandlerErr> Sync for ConnectionError<THandlerErr> where
THandlerErr: Sync, impl<THandlerErr> Unpin for ConnectionError<THandlerErr> where
THandlerErr: Unpin, impl<THandlerErr> !UnwindSafe for ConnectionError<THandlerErr>