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 Hash for FailureType
impl Hash 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 for FailureType
impl PartialEq for FailureType
Source§impl PartialOrd for FailureType
impl PartialOrd for FailureType
impl Copy for FailureType
impl Eq for FailureType
impl StructuralPartialEq for FailureType
Auto Trait Implementations§
impl Freeze for FailureType
impl RefUnwindSafe for FailureType
impl Send for FailureType
impl Sync for FailureType
impl Unpin for FailureType
impl UnwindSafe for FailureType
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