Enum libp2p::core::network::DialError [−][src]
pub enum DialError { ConnectionLimit(ConnectionLimit), InvalidAddress(Multiaddr), }
Expand description
Possible (synchronous) errors when dialing a peer.
Variants
ConnectionLimit(ConnectionLimit)
The dialing attempt is rejected because of a connection limit.
InvalidAddress(Multiaddr)
The address being dialed is invalid, e.g. if it refers to a different remote peer than the one being dialed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DialError
impl UnwindSafe for DialError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V