#[non_exhaustive]pub enum AnchorKind {
Filter,
Nat,
Redirect,
Scrub,
}Expand description
Enum describing the kinds of anchors
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for AnchorKind
impl Clone for AnchorKind
Source§fn clone(&self) -> AnchorKind
fn clone(&self) -> AnchorKind
Returns a duplicate 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 AnchorKind
impl Debug for AnchorKind
Source§impl From<AnchorKind> for u8
impl From<AnchorKind> for u8
Source§fn from(anchor_kind: AnchorKind) -> u8
fn from(anchor_kind: AnchorKind) -> u8
Converts to this type from the input type.
Source§impl Hash for AnchorKind
impl Hash for AnchorKind
Source§impl PartialEq for AnchorKind
impl PartialEq for AnchorKind
impl Copy for AnchorKind
impl Eq for AnchorKind
impl StructuralPartialEq for AnchorKind
Auto Trait Implementations§
impl Freeze for AnchorKind
impl RefUnwindSafe for AnchorKind
impl Send for AnchorKind
impl Sync for AnchorKind
impl Unpin for AnchorKind
impl UnwindSafe for AnchorKind
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