Trait Mask
netaddr2
pub trait Mask { type Output; fn mask(&self, other: &Self) -> Self::Output; }
type Output
fn mask(&self, other: &Self) -> Self::Output
impl Mask for IpAddr
type Output = Result<Self, &'static str>
impl Mask for Ipv4Addr
type Output = Self
impl Mask for Ipv6Addr