pub struct IcmpCode(pub u8);
Expand description
Represents the “ICMP code” header field.
Tuple Fields§
§0: u8
Implementations§
Trait Implementations§
source§impl Ord for IcmpCode
impl Ord for IcmpCode
source§impl PartialEq for IcmpCode
impl PartialEq for IcmpCode
source§impl PartialOrd for IcmpCode
impl PartialOrd for IcmpCode
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 moresource§impl PrimitiveValues for IcmpCode
impl PrimitiveValues for IcmpCode
impl Copy for IcmpCode
impl Eq for IcmpCode
impl StructuralPartialEq for IcmpCode
Auto Trait Implementations§
impl Freeze for IcmpCode
impl RefUnwindSafe for IcmpCode
impl Send for IcmpCode
impl Sync for IcmpCode
impl Unpin for IcmpCode
impl UnwindSafe for IcmpCode
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