pub struct Socklen(/* private fields */);Expand description
A validated nonzero native socket-address length.
Implementations§
Trait Implementations§
impl Copy for Socklen
impl Eq for Socklen
Source§impl Ord for Socklen
impl Ord for Socklen
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 Socklen
impl PartialOrd for Socklen
impl StructuralPartialEq for Socklen
Auto Trait Implementations§
impl Forget for Socklen
impl Freeze for Socklen
impl RefUnwindSafe for Socklen
impl Send for Socklen
impl Sync for Socklen
impl Unpin for Socklen
impl UnsafeUnpin for Socklen
impl UnwindSafe for Socklen
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