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§impl PartialOrd for AssociationHandle
impl PartialOrd for AssociationHandle
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)