Skip to main content

PrefixOps

Trait PrefixOps 

Source
pub trait PrefixOps {
    type Ip;

    // Required methods
    fn network(&self) -> Self::Ip;
    fn netmask(&self) -> Self::Ip;
    fn broadcast(&self) -> Self::Ip;
}

Required Associated Types§

Required Methods§

Source

fn network(&self) -> Self::Ip

Source

fn netmask(&self) -> Self::Ip

Source

fn broadcast(&self) -> Self::Ip

Implementors§