Enum libp2p::swarm::protocols_handler::NodeHandlerWrapperError [−][src]
pub enum NodeHandlerWrapperError<TErr> { Handler(TErr), KeepAliveTimeout, }
Error generated by the NodeHandlerWrapper
.
Variants
The connection handler encountered an error.
The connection keep-alive timeout expired.
Trait Implementations
impl<TErr> Debug for NodeHandlerWrapperError<TErr> where
TErr: Debug,
[src]
impl<TErr> Debug for NodeHandlerWrapperError<TErr> where
TErr: Debug,
[src]impl<TErr> Display for NodeHandlerWrapperError<TErr> where
TErr: Display,
[src]
impl<TErr> Display for NodeHandlerWrapperError<TErr> where
TErr: Display,
[src]impl<TErr> Error for NodeHandlerWrapperError<TErr> where
TErr: Error + 'static,
[src]
impl<TErr> Error for NodeHandlerWrapperError<TErr> where
TErr: Error + 'static,
[src]impl<TErr> From<TErr> for NodeHandlerWrapperError<TErr>
[src]
impl<TErr> From<TErr> for NodeHandlerWrapperError<TErr>
[src]pub fn from(err: TErr) -> NodeHandlerWrapperError<TErr>
[src]
Auto Trait Implementations
impl<TErr> RefUnwindSafe for NodeHandlerWrapperError<TErr> where
TErr: RefUnwindSafe,
TErr: RefUnwindSafe,
impl<TErr> Send for NodeHandlerWrapperError<TErr> where
TErr: Send,
TErr: Send,
impl<TErr> Sync for NodeHandlerWrapperError<TErr> where
TErr: Sync,
TErr: Sync,
impl<TErr> Unpin for NodeHandlerWrapperError<TErr> where
TErr: Unpin,
TErr: Unpin,
impl<TErr> UnwindSafe for NodeHandlerWrapperError<TErr> where
TErr: UnwindSafe,
TErr: UnwindSafe,