#[repr(C, packed(1))]pub struct IcmpDstUnreachable {
pub _unused: [u8; 2],
pub mtu: [u8; 2],
}Expand description
For ICMP Type 3 “Destination Unreachable” Message (RFC 792) with support for PMTUD (RFC 1191) Contains 2 unused bytes followed by a Next-Hop MTU field indicating the maximum transmission unit of the next-hop network on which fragmentation is required.
Fields§
§_unused: [u8; 2]§mtu: [u8; 2]Trait Implementations§
Source§impl Clone for IcmpDstUnreachable
impl Clone for IcmpDstUnreachable
Source§fn clone(&self) -> IcmpDstUnreachable
fn clone(&self) -> IcmpDstUnreachable
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 IcmpDstUnreachable
impl Debug for IcmpDstUnreachable
impl Copy for IcmpDstUnreachable
Auto Trait Implementations§
impl Freeze for IcmpDstUnreachable
impl RefUnwindSafe for IcmpDstUnreachable
impl Send for IcmpDstUnreachable
impl Sync for IcmpDstUnreachable
impl Unpin for IcmpDstUnreachable
impl UnwindSafe for IcmpDstUnreachable
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