pub enum Ipv6OptionFailureAction {
Skip,
Discard,
DiscardSendError,
DiscardSendErrorIfUnicast,
}Expand description
The action required of a node that does not recognize an option, from the two highest-order bits of the option type (RFC 8200 §4.2).
Variants§
Skip
Skip the option and continue processing the header.
Discard
Discard the packet silently.
DiscardSendError
Discard the packet and send an ICMP Parameter Problem error.
DiscardSendErrorIfUnicast
Discard the packet and send an ICMP Parameter Problem error, but only if the packet’s destination was not a multicast address.
Trait Implementations§
Source§impl Clone for OptionFailureAction
impl Clone for OptionFailureAction
Source§fn clone(&self) -> OptionFailureAction
fn clone(&self) -> OptionFailureAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OptionFailureAction
Source§impl Debug for OptionFailureAction
impl Debug for OptionFailureAction
impl Eq for OptionFailureAction
Source§impl PartialEq for OptionFailureAction
impl PartialEq for OptionFailureAction
impl StructuralPartialEq for OptionFailureAction
Auto Trait Implementations§
impl Freeze for OptionFailureAction
impl RefUnwindSafe for OptionFailureAction
impl Send for OptionFailureAction
impl Sync for OptionFailureAction
impl Unpin for OptionFailureAction
impl UnsafeUnpin for OptionFailureAction
impl UnwindSafe for OptionFailureAction
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