#[repr(C, packed(1))]pub struct IcmpTraceroute {
pub id: [u8; 2],
pub _unused: [u8; 2],
}Expand description
For ICMP Type 30 “Traceroute” Message (RFC 1393) Contains a 16-bit ID Number field used by the source to match responses to outgoing requests followed by 2 unused bytes to make a total of 4 bytes. The ID Number helps match Reply messages (type 31) to their corresponding Requests.
Fields§
§id: [u8; 2]§_unused: [u8; 2]Trait Implementations§
Source§impl Clone for IcmpTraceroute
impl Clone for IcmpTraceroute
Source§fn clone(&self) -> IcmpTraceroute
fn clone(&self) -> IcmpTraceroute
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IcmpTraceroute
impl Debug for IcmpTraceroute
impl Copy for IcmpTraceroute
Auto Trait Implementations§
impl Freeze for IcmpTraceroute
impl RefUnwindSafe for IcmpTraceroute
impl Send for IcmpTraceroute
impl Sync for IcmpTraceroute
impl Unpin for IcmpTraceroute
impl UnwindSafe for IcmpTraceroute
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