Struct etherparse::icmpv6::ParameterProblemHeader
source · pub struct ParameterProblemHeader {
pub code: ParameterProblemCode,
pub pointer: u32,
}
Expand description
ICMPv6 parameter problem header.
Fields§
§code: ParameterProblemCode
The code can offer additional informations about what kind of parameter problem caused the error.
pointer: u32
Identifies the octet offset within the invoking packet where the error was detected.
The pointer will point beyond the end of the ICMPv6 packet if the field in error is beyond what can fit in the maximum size of an ICMPv6 error message.
Trait Implementations§
source§impl Clone for ParameterProblemHeader
impl Clone for ParameterProblemHeader
source§fn clone(&self) -> ParameterProblemHeader
fn clone(&self) -> ParameterProblemHeader
Returns a copy 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 ParameterProblemHeader
impl Debug for ParameterProblemHeader
source§impl PartialEq for ParameterProblemHeader
impl PartialEq for ParameterProblemHeader
source§fn eq(&self, other: &ParameterProblemHeader) -> bool
fn eq(&self, other: &ParameterProblemHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ParameterProblemHeader
impl Eq for ParameterProblemHeader
impl StructuralPartialEq for ParameterProblemHeader
Auto Trait Implementations§
impl Freeze for ParameterProblemHeader
impl RefUnwindSafe for ParameterProblemHeader
impl Send for ParameterProblemHeader
impl Sync for ParameterProblemHeader
impl Unpin for ParameterProblemHeader
impl UnwindSafe for ParameterProblemHeader
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