Enum libp2p::swarm::protocols_handler::NodeHandlerWrapperError [−][src]
pub enum NodeHandlerWrapperError<TErr> {
Handler(TErr),
KeepAliveTimeout,
}Expand description
Error generated by the NodeHandlerWrapper.
Variants
The connection handler encountered an error.
The connection keep-alive timeout expired.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<TErr> RefUnwindSafe for NodeHandlerWrapperError<TErr> where
TErr: RefUnwindSafe, impl<TErr> Send for NodeHandlerWrapperError<TErr> where
TErr: Send, impl<TErr> Sync for NodeHandlerWrapperError<TErr> where
TErr: Sync, impl<TErr> Unpin for NodeHandlerWrapperError<TErr> where
TErr: Unpin, impl<TErr> UnwindSafe for NodeHandlerWrapperError<TErr> where
TErr: UnwindSafe, Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V