pub struct SocketId(/* private fields */);Expand description
A unique id for one connection, for the life of the process.
Implementations§
Trait Implementations§
impl Copy for SocketId
impl Eq for SocketId
Source§impl Ord for SocketId
impl Ord for SocketId
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 PartialOrd for SocketId
impl PartialOrd for SocketId
impl StructuralPartialEq for SocketId
Auto Trait Implementations§
impl Freeze for SocketId
impl RefUnwindSafe for SocketId
impl Send for SocketId
impl Sync for SocketId
impl Unpin for SocketId
impl UnsafeUnpin for SocketId
impl UnwindSafe for SocketId
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