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