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
sourceimpl Clone for FailureType
impl Clone for FailureType
sourcefn clone(&self) -> FailureType
fn clone(&self) -> FailureType
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FailureType
impl Debug for FailureType
sourceimpl Display for FailureType
impl Display for FailureType
sourceimpl From<FailureType> for u8
impl From<FailureType> for u8
sourcefn from(value: FailureType) -> Self
fn from(value: FailureType) -> Self
Converts to this type from the input type.
sourceimpl From<Type> for FailureType
impl From<Type> for FailureType
sourcefn from(other: Type) -> FailureType
fn from(other: Type) -> FailureType
Converts to this type from the input type.
sourceimpl From<u8> for FailureType
impl From<u8> for FailureType
sourceimpl Ord for FailureType
impl Ord for FailureType
sourcefn cmp(&self, other: &FailureType) -> Ordering
fn cmp(&self, other: &FailureType) -> Ordering
This method returns an [Ordering] between self and other. Read more
sourceimpl PartialEq<FailureType> for FailureType
impl PartialEq<FailureType> for FailureType
sourcefn eq(&self, other: &FailureType) -> bool
fn eq(&self, other: &FailureType) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FailureType) -> bool
fn ne(&self, other: &FailureType) -> bool
This method tests for !=.
sourceimpl PartialOrd<FailureType> for FailureType
impl PartialOrd<FailureType> for FailureType
sourcefn partial_cmp(&self, other: &FailureType) -> Option<Ordering>
fn partial_cmp(&self, other: &FailureType) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0fn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0fn 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
impl Copy for FailureType
impl Eq for FailureType
impl StructuralEq for FailureType
impl StructuralPartialEq for FailureType
Auto Trait Implementations
impl RefUnwindSafe for FailureType
impl Send for FailureType
impl Sync for FailureType
impl Unpin for FailureType
impl UnwindSafe for FailureType
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more