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 ==
.impl Copy for IncomingIndex
impl Eq for IncomingIndex
impl StructuralEq for IncomingIndex
impl StructuralPartialEq for IncomingIndex
Auto Trait Implementations§
impl RefUnwindSafe for IncomingIndex
impl Send for IncomingIndex
impl Sync for IncomingIndex
impl Unpin for IncomingIndex
impl UnwindSafe for IncomingIndex
Blanket Implementations§
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.