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<PortRangeModifier> for PortRangeModifier
impl PartialEq<PortRangeModifier> 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 ==
.