pub struct IcmpSpec {
pub version: IcmpVersion,
pub ty: u8,
pub code: Option<u8>,
}Expand description
Parsed ICMP tuple of version, type, and optional code.
Fields§
§version: IcmpVersion§ty: u8§code: Option<u8>Implementations§
Trait Implementations§
Source§impl Ord for IcmpSpec
impl Ord for IcmpSpec
Source§impl PartialOrd for IcmpSpec
impl PartialOrd for IcmpSpec
impl Copy for IcmpSpec
impl Eq for IcmpSpec
impl StructuralPartialEq for IcmpSpec
Auto Trait Implementations§
impl Freeze for IcmpSpec
impl RefUnwindSafe for IcmpSpec
impl Send for IcmpSpec
impl Sync for IcmpSpec
impl Unpin for IcmpSpec
impl UnwindSafe for IcmpSpec
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