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