Struct Icmpv4Message
pub struct Icmpv4Message(pub u8);Expand description
Internet protocol control message type.
Tuple Fields§
§0: u8Implementations§
§impl Message
impl Message
pub const DstUnreachable: Message
pub const DstUnreachable: Message
Destination unreachable
pub const SourceQuench: Message
pub const SourceQuench: Message
Source quench (deprecated)
pub const EchoRequest: Message
pub const EchoRequest: Message
Echo request
pub const RouterAdvert: Message
pub const RouterAdvert: Message
Router advertisement
pub const RouterSolicit: Message
pub const RouterSolicit: Message
Router solicitation
pub const TimeExceeded: Message
pub const TimeExceeded: Message
Time exceeded
pub const ParamProblem: Message
pub const ParamProblem: Message
Parameter problem
pub const TimestampReply: Message
pub const TimestampReply: Message
Timestamp reply
Trait Implementations§
impl Copy for Message
impl Eq for Message
§impl Ord for Message
impl Ord for Message
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
§impl PartialOrd for Message
impl PartialOrd for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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