Enum pfctl::Ip[][src]

pub enum Ip {
    Any,
    Net(IpNetwork),
}

Variants

Any

Implementations

impl Ip[src]

pub fn get_af(&self) -> AddrFamily[src]

pub fn to_pool_addr_list(&self) -> Result<PoolAddrList>[src]

Returns PoolAddrList initialized with receiver

Trait Implementations

impl Clone for Ip[src]

impl Copy for Ip[src]

impl Debug for Ip[src]

impl Default for Ip[src]

impl Eq for Ip[src]

impl From<Ip> for Endpoint[src]

impl From<Ip> for PoolAddr[src]

impl From<IpAddr> for Ip[src]

impl From<IpNetwork> for Ip[src]

impl From<Ipv4Addr> for Ip[src]

impl From<Ipv6Addr> for Ip[src]

impl Hash for Ip[src]

impl PartialEq<Ip> for Ip[src]

impl StructuralEq for Ip[src]

impl StructuralPartialEq for Ip[src]

Auto Trait Implementations

impl RefUnwindSafe for Ip

impl Send for Ip

impl Sync for Ip

impl Unpin for Ip

impl UnwindSafe for Ip

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.