Struct ckb_network::SessionId
source · pub struct SessionId(/* private fields */);
Expand description
Index of session
Implementations§
Trait Implementations§
source§impl AddAssign<usize> for SessionId
impl AddAssign<usize> for SessionId
source§fn add_assign(&mut self, rhs: usize)
fn add_assign(&mut self, rhs: usize)
Performs the
+=
operation. Read moresource§impl From<SessionId> for TargetSession
impl From<SessionId> for TargetSession
source§fn from(id: SessionId) -> TargetSession
fn from(id: SessionId) -> TargetSession
Converts to this type from the input type.
source§impl Ord for SessionId
impl Ord for SessionId
source§impl PartialEq for SessionId
impl PartialEq for SessionId
source§impl PartialOrd for SessionId
impl PartialOrd for SessionId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SessionId
impl Eq for SessionId
impl IsEnabled for SessionId
Auto Trait Implementations§
impl RefUnwindSafe for SessionId
impl Send for SessionId
impl Sync for SessionId
impl Unpin for SessionId
impl UnwindSafe for SessionId
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