Enum pfctl::PortUnaryModifier
source · pub enum PortUnaryModifier {
Equal,
NotEqual,
Greater,
Less,
GreaterOrEqual,
LessOrEqual,
}
Variants§
Trait Implementations§
source§impl Clone for PortUnaryModifier
impl Clone for PortUnaryModifier
source§fn clone(&self) -> PortUnaryModifier
fn clone(&self) -> PortUnaryModifier
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 PortUnaryModifier
impl Debug for PortUnaryModifier
source§impl From<PortUnaryModifier> for u8
impl From<PortUnaryModifier> for u8
source§fn from(modifier: PortUnaryModifier) -> Self
fn from(modifier: PortUnaryModifier) -> Self
Converts to this type from the input type.
source§impl Hash for PortUnaryModifier
impl Hash for PortUnaryModifier
source§impl PartialEq for PortUnaryModifier
impl PartialEq for PortUnaryModifier
source§fn eq(&self, other: &PortUnaryModifier) -> bool
fn eq(&self, other: &PortUnaryModifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PortUnaryModifier
impl Eq for PortUnaryModifier
impl StructuralPartialEq for PortUnaryModifier
Auto Trait Implementations§
impl Freeze for PortUnaryModifier
impl RefUnwindSafe for PortUnaryModifier
impl Send for PortUnaryModifier
impl Sync for PortUnaryModifier
impl Unpin for PortUnaryModifier
impl UnwindSafe for PortUnaryModifier
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