Struct network::transport::ConnectionId  
source · pub struct ConnectionId(_);Expand description
Unique local identifier for a connection.
Trait Implementations§
source§impl Clone for ConnectionId
 
impl Clone for ConnectionId
source§fn clone(&self) -> ConnectionId
 
fn clone(&self) -> ConnectionId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for ConnectionId
 
impl Debug for ConnectionId
source§impl Default for ConnectionId
 
impl Default for ConnectionId
source§fn default() -> ConnectionId
 
fn default() -> ConnectionId
Returns the “default value” for a type. Read more
source§impl From<u32> for ConnectionId
 
impl From<u32> for ConnectionId
source§fn from(i: u32) -> ConnectionId
 
fn from(i: u32) -> ConnectionId
Converts to this type from the input type.
source§impl Hash for ConnectionId
 
impl Hash for ConnectionId
source§impl PartialEq<ConnectionId> for ConnectionId
 
impl PartialEq<ConnectionId> for ConnectionId
source§fn eq(&self, other: &ConnectionId) -> bool
 
fn eq(&self, other: &ConnectionId) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for ConnectionId
 
impl Serialize for ConnectionId
impl Copy for ConnectionId
impl Eq for ConnectionId
impl StructuralEq for ConnectionId
impl StructuralPartialEq for ConnectionId
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionId
impl Send for ConnectionId
impl Sync for ConnectionId
impl Unpin for ConnectionId
impl UnwindSafe for ConnectionId
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
 
impl<T> Pointable for T
source§impl<T> Serialize for Twhere
    T: Serialize + ?Sized,
 
impl<T> Serialize for Twhere T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
§impl<T> TestOnlyHash for Twhere
    T: Serialize + ?Sized,
 
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
§fn test_only_hash(&self) -> HashValue
 
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.