Enum libp2p::core::connection::ConnectionError [−][src]
pub enum ConnectionError<THandlerErr> {
IO(Error),
Handler(THandlerErr),
}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
impl<THandlerErr> Debug for ConnectionError<THandlerErr> where
THandlerErr: Debug, [src]
impl<THandlerErr> Debug for ConnectionError<THandlerErr> where
THandlerErr: Debug, [src]impl<THandlerErr> Display for ConnectionError<THandlerErr> where
THandlerErr: Display, [src]
impl<THandlerErr> Display for ConnectionError<THandlerErr> where
THandlerErr: Display, [src]impl<THandlerErr> Error for ConnectionError<THandlerErr> where
THandlerErr: Error + 'static, [src]
impl<THandlerErr> Error for ConnectionError<THandlerErr> where
THandlerErr: Error + 'static, [src]Auto Trait Implementations
impl<THandlerErr> !RefUnwindSafe for ConnectionError<THandlerErr>
impl<THandlerErr> Send for ConnectionError<THandlerErr> where
THandlerErr: Send,
THandlerErr: Send,
impl<THandlerErr> Sync for ConnectionError<THandlerErr> where
THandlerErr: Sync,
THandlerErr: Sync,
impl<THandlerErr> Unpin for ConnectionError<THandlerErr> where
THandlerErr: Unpin,
THandlerErr: Unpin,