Enum libp2p_core::network::DialError
source · [−]pub enum DialError<THandler> {
ConnectionLimit {
limit: ConnectionLimit,
handler: THandler,
},
LocalPeerId {
handler: THandler,
},
InvalidPeerId {
handler: THandler,
multihash: Multihash,
},
}Expand description
Possible (synchronous) errors when dialing a peer.
Variants
ConnectionLimit
The dialing attempt is rejected because of a connection limit.
LocalPeerId
The dialing attempt is rejected because the peer being dialed is the local peer.
InvalidPeerId
Trait Implementations
Auto Trait Implementations
impl<THandler> RefUnwindSafe for DialError<THandler> where
THandler: RefUnwindSafe,
impl<THandler> UnwindSafe for DialError<THandler> where
THandler: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more