Enum libp2p_kad::protocol::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
Auto Trait Implementations
impl RefUnwindSafe for KadConnectionType
impl Send for KadConnectionType
impl Sync for KadConnectionType
impl Unpin for KadConnectionType
impl UnwindSafe for KadConnectionType
Blanket Implementations
Mutably borrows from an owned value. Read more