Enum smoltcp::wire::Ipv6OptionFailureType
source · pub enum Ipv6OptionFailureType {
Skip,
Discard,
DiscardSendAll,
DiscardSendUnicast,
Unknown(u8),
}
Expand description
Action required when parsing the given IPv6 Extension Header Option Type fails
Variants§
Skip
Skip this option and continue processing the packet
Discard
Discard the containing packet
DiscardSendAll
Discard the containing packet and notify the sender
DiscardSendUnicast
Discard the containing packet and only notify the sender if the sender is a unicast address
Unknown(u8)
Trait Implementations§
source§impl Clone for FailureType
impl Clone for FailureType
source§fn clone(&self) -> FailureType
fn clone(&self) -> FailureType
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 FailureType
impl Debug for FailureType
source§impl Display for FailureType
impl Display for FailureType
source§impl From<FailureType> for u8
impl From<FailureType> for u8
source§fn from(value: FailureType) -> Self
fn from(value: FailureType) -> Self
Converts to this type from the input type.
source§impl From<Type> for FailureType
impl From<Type> for FailureType
source§fn from(other: Type) -> FailureType
fn from(other: Type) -> FailureType
Converts to this type from the input type.
source§impl From<u8> for FailureType
impl From<u8> for FailureType
source§impl Ord for FailureType
impl Ord for FailureType
source§fn cmp(&self, other: &FailureType) -> Ordering
fn cmp(&self, other: &FailureType) -> 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<FailureType> for FailureType
impl PartialEq<FailureType> for FailureType
source§fn eq(&self, other: &FailureType) -> bool
fn eq(&self, other: &FailureType) -> bool
source§impl PartialOrd<FailureType> for FailureType
impl PartialOrd<FailureType> for FailureType
source§fn partial_cmp(&self, other: &FailureType) -> Option<Ordering>
fn partial_cmp(&self, other: &FailureType) -> 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