#[repr(C, packed(1))]pub struct IcmpParamProblem {
pub pointer: u8,
pub _unused: [u8; 3],
}Expand description
For ICMP Type 12 “Parameter Problem” Message (RFC 792) Contains a pointer to the byte in the original datagram that caused the error and 3 bytes of unused padding to make the field a total of 4 bytes.
Fields§
§pointer: u8§_unused: [u8; 3]Trait Implementations§
Source§impl Clone for IcmpParamProblem
impl Clone for IcmpParamProblem
Source§fn clone(&self) -> IcmpParamProblem
fn clone(&self) -> IcmpParamProblem
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 IcmpParamProblem
impl Debug for IcmpParamProblem
impl Copy for IcmpParamProblem
Auto Trait Implementations§
impl Freeze for IcmpParamProblem
impl RefUnwindSafe for IcmpParamProblem
impl Send for IcmpParamProblem
impl Sync for IcmpParamProblem
impl Unpin for IcmpParamProblem
impl UnwindSafe for IcmpParamProblem
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