Enum smoltcp::wire::Icmpv4ParamProblem
source · pub enum Icmpv4ParamProblem {
AtPointer,
MissingOption,
BadLength,
Unknown(u8),
}
Expand description
Internet protocol control message subtype for type “Parameter Problem”.
Variants§
AtPointer
Pointer indicates the error
MissingOption
Missing a required option
BadLength
Bad length
Unknown(u8)
Trait Implementations§
source§impl Clone for ParamProblem
impl Clone for ParamProblem
source§fn clone(&self) -> ParamProblem
fn clone(&self) -> ParamProblem
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 ParamProblem
impl Debug for ParamProblem
source§impl From<ParamProblem> for u8
impl From<ParamProblem> for u8
source§fn from(value: ParamProblem) -> Self
fn from(value: ParamProblem) -> Self
Converts to this type from the input type.
source§impl From<u8> for ParamProblem
impl From<u8> for ParamProblem
source§impl Ord for ParamProblem
impl Ord for ParamProblem
source§fn cmp(&self, other: &ParamProblem) -> Ordering
fn cmp(&self, other: &ParamProblem) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ParamProblem> for ParamProblem
impl PartialEq<ParamProblem> for ParamProblem
source§fn eq(&self, other: &ParamProblem) -> bool
fn eq(&self, other: &ParamProblem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ParamProblem> for ParamProblem
impl PartialOrd<ParamProblem> for ParamProblem
source§fn partial_cmp(&self, other: &ParamProblem) -> Option<Ordering>
fn partial_cmp(&self, other: &ParamProblem) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more