[][src]Trait netaddr2::Mask

pub trait Mask {
    type Output;
    fn mask(&self, other: &Self) -> Self::Output;
}

Masking one object with another

Associated Types

type Output

The result of masking

Loading content...

Required methods

fn mask(&self, other: &Self) -> Self::Output

Perform the mask

Loading content...

Implementations on Foreign Types

impl Mask for IpAddr[src]

type Output = Result<Self, &'static str>

impl Mask for Ipv4Addr[src]

type Output = Self

impl Mask for Ipv6Addr[src]

type Output = Self

Loading content...

Implementors

Loading content...