Struct libp2p::core::connection::ConnectionId [−][src]
pub struct ConnectionId(_);
Expand description
Connection identifier.
Implementations
Creates a ConnectionId from a non-negative integer.
This is primarily useful for creating connection IDs in test environments. There is in general no guarantee that all connection IDs are based on non-negative integers.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConnectionIdimpl Send for ConnectionIdimpl Sync for ConnectionIdimpl Unpin for ConnectionIdimpl UnwindSafe for ConnectionIdBlanket 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