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