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