Enum pfctl::AnchorKind
source · pub enum AnchorKind {
Filter,
Redirect,
}
Expand description
Enum describing the kinds of anchors
Variants§
Trait Implementations§
source§impl Clone for AnchorKind
impl Clone for AnchorKind
source§fn clone(&self) -> AnchorKind
fn clone(&self) -> AnchorKind
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 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
source§fn eq(&self, other: &AnchorKind) -> bool
fn eq(&self, other: &AnchorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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