pub struct ConnHandle(pub usize);Expand description
Identifies a connection inside an endpoint.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for ConnHandle
impl Clone for ConnHandle
impl Copy for ConnHandle
Source§impl Debug for ConnHandle
impl Debug for ConnHandle
impl Eq for ConnHandle
Source§impl Hash for ConnHandle
impl Hash for ConnHandle
Source§impl Ord for ConnHandle
impl Ord for ConnHandle
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ConnHandle
impl PartialEq for ConnHandle
Source§impl PartialOrd for ConnHandle
impl PartialOrd for ConnHandle
impl StructuralPartialEq for ConnHandle
Auto Trait Implementations§
impl Forget for ConnHandle
impl Freeze for ConnHandle
impl Move for ConnHandle
impl RefUnwindSafe for ConnHandle
impl Send for ConnHandle
impl Sync for ConnHandle
impl Unpin for ConnHandle
impl UnsafeUnpin for ConnHandle
impl UnwindSafe for ConnHandle
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