Struct sc_peerset::IncomingIndex
source · pub struct IncomingIndex(pub u64);
Expand description
Opaque identifier for an incoming connection. Allocated by the network.
Tuple Fields§
§0: u64
Trait Implementations§
source§impl Clone for IncomingIndex
impl Clone for IncomingIndex
source§fn clone(&self) -> IncomingIndex
fn clone(&self) -> IncomingIndex
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 IncomingIndex
impl Debug for IncomingIndex
source§impl From<u64> for IncomingIndex
impl From<u64> for IncomingIndex
source§impl Hash for IncomingIndex
impl Hash for IncomingIndex
source§impl PartialEq<IncomingIndex> for IncomingIndex
impl PartialEq<IncomingIndex> for IncomingIndex
source§fn eq(&self, other: &IncomingIndex) -> bool
fn eq(&self, other: &IncomingIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.