pub struct Icmpv4Type(/* private fields */);Expand description
An ICMPv4 message type, preserving unknown values.
Implementations§
Source§impl Icmpv4Type
impl Icmpv4Type
Sourcepub const ECHO_REPLY: Self
pub const ECHO_REPLY: Self
Echo Reply (0).
Sourcepub const DESTINATION_UNREACHABLE: Self
pub const DESTINATION_UNREACHABLE: Self
Destination Unreachable (3).
Sourcepub const ECHO_REQUEST: Self
pub const ECHO_REQUEST: Self
Echo Request (8).
Sourcepub const TIME_EXCEEDED: Self
pub const TIME_EXCEEDED: Self
Time Exceeded (11).
Trait Implementations§
Source§impl Clone for Icmpv4Type
impl Clone for Icmpv4Type
impl Copy for Icmpv4Type
Source§impl Debug for Icmpv4Type
impl Debug for Icmpv4Type
impl Eq for Icmpv4Type
Source§impl Hash for Icmpv4Type
impl Hash for Icmpv4Type
Source§impl PartialEq for Icmpv4Type
impl PartialEq for Icmpv4Type
impl StructuralPartialEq for Icmpv4Type
Auto Trait Implementations§
impl Freeze for Icmpv4Type
impl RefUnwindSafe for Icmpv4Type
impl Send for Icmpv4Type
impl Sync for Icmpv4Type
impl Unpin for Icmpv4Type
impl UnsafeUnpin for Icmpv4Type
impl UnwindSafe for Icmpv4Type
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