Enum libp2p::core::network::DialError [−][src]
pub enum DialError<THandler> {
ConnectionLimit {
limit: ConnectionLimit,
handler: THandler,
},
LocalPeerId {
handler: THandler,
},
}
Expand description
Possible (synchronous) errors when dialing a peer.
Variants
The dialing attempt is rejected because of a connection limit.
Fields of ConnectionLimit
limit: ConnectionLimit
handler: THandler
The dialing attempt is rejected because the peer being dialed is the local peer.
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