Enum libp2p::TransportError [−][src]
pub enum TransportError<TErr> { MultiaddrNotSupported(Multiaddr), Other(TErr), }
Variants
MultiaddrNotSupported(Multiaddr)
The Multiaddr
passed as parameter is not supported.
Contains back the same address.
Any other error that a Transport
may produce.
Implementations
Applies a function to the the error in TransportError::Other
.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<TErr> RefUnwindSafe for TransportError<TErr> where
TErr: RefUnwindSafe,
impl<TErr> Send for TransportError<TErr> where
TErr: Send,
impl<TErr> Sync for TransportError<TErr> where
TErr: Sync,
impl<TErr> Unpin for TransportError<TErr> where
TErr: Unpin,
impl<TErr> UnwindSafe for TransportError<TErr> where
TErr: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V