Struct etherparse::icmpv6::ParameterProblemHeader
source · pub struct ParameterProblemHeader {
pub code: ParameterProblemCode,
pub pointer: u32,
}Expand description
ICMPv6 parameter problem header.
Fields§
§code: ParameterProblemCodeThe code can offer additional informations about what kind of parameter problem caused the error.
pointer: u32Identifies 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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)