Enum net::wire::Icmpv4ParamProblem
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§
§impl Clone for ParamProblem
impl Clone for ParamProblem
§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 more§impl Debug for ParamProblem
impl Debug for ParamProblem
§impl From<u8> for ParamProblem
impl From<u8> for ParamProblem
§fn from(value: u8) -> ParamProblem
fn from(value: u8) -> ParamProblem
Converts to this type from the input type.
§impl Hash for ParamProblem
impl Hash for ParamProblem
§impl Ord for ParamProblem
impl Ord for ParamProblem
§impl PartialEq<ParamProblem> for ParamProblem
impl PartialEq<ParamProblem> for ParamProblem
§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 ==
.§impl PartialOrd<ParamProblem> for ParamProblem
impl PartialOrd<ParamProblem> for ParamProblem
§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 moreimpl Copy for ParamProblem
impl Eq for ParamProblem
impl StructuralEq for ParamProblem
impl StructuralPartialEq for ParamProblem
Auto Trait Implementations§
impl RefUnwindSafe for ParamProblem
impl Send for ParamProblem
impl Sync for ParamProblem
impl Unpin for ParamProblem
impl UnwindSafe for ParamProblem
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