Struct sctp_proto::AssociationHandle
source · pub struct AssociationHandle(pub usize);
Expand description
Internal identifier for an Association
currently associated with an endpoint
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for AssociationHandle
impl Clone for AssociationHandle
source§fn clone(&self) -> AssociationHandle
fn clone(&self) -> AssociationHandle
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 AssociationHandle
impl Debug for AssociationHandle
source§impl From<AssociationHandle> for usize
impl From<AssociationHandle> for usize
source§fn from(x: AssociationHandle) -> usize
fn from(x: AssociationHandle) -> usize
Converts to this type from the input type.
source§impl Hash for AssociationHandle
impl Hash for AssociationHandle
source§impl Index<AssociationHandle> for Slab<AssociationMeta>
impl Index<AssociationHandle> for Slab<AssociationMeta>
source§impl IndexMut<AssociationHandle> for Slab<AssociationMeta>
impl IndexMut<AssociationHandle> for Slab<AssociationMeta>
source§fn index_mut(&mut self, ch: AssociationHandle) -> &mut AssociationMeta
fn index_mut(&mut self, ch: AssociationHandle) -> &mut AssociationMeta
Performs the mutable indexing (
container[index]
) operation. Read moresource§impl Ord for AssociationHandle
impl Ord for AssociationHandle
source§fn cmp(&self, other: &AssociationHandle) -> Ordering
fn cmp(&self, other: &AssociationHandle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AssociationHandle
impl PartialEq for AssociationHandle
source§fn eq(&self, other: &AssociationHandle) -> bool
fn eq(&self, other: &AssociationHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AssociationHandle
impl PartialOrd for AssociationHandle
source§fn partial_cmp(&self, other: &AssociationHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &AssociationHandle) -> Option<Ordering>
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 AssociationHandle
impl Eq for AssociationHandle
impl StructuralPartialEq for AssociationHandle
Auto Trait Implementations§
impl Freeze for AssociationHandle
impl RefUnwindSafe for AssociationHandle
impl Send for AssociationHandle
impl Sync for AssociationHandle
impl Unpin for AssociationHandle
impl UnwindSafe for AssociationHandle
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