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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more