Enum libp2p::kad::KadConnectionType [−][src]
pub enum KadConnectionType {
NotConnected,
Connected,
CanConnect,
CannotConnect,
}Expand description
Status of our connection to a node reported by the Kademlia protocol.
Variants
Sender hasn’t tried to connect to peer.
Sender is currently connected to peer.
Sender was recently connected to peer.
Sender tried to connect to peer but failed.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for KadConnectionTypeimpl Send for KadConnectionTypeimpl Sync for KadConnectionTypeimpl Unpin for KadConnectionTypeimpl UnwindSafe for KadConnectionTypeBlanket Implementations
Mutably borrows from an owned value. Read more
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash, pub fn vzip(self) -> V