Type Definition ip::any::Netmask

source ·
pub type Netmask = Mask<Net>;
Expand description

Either an IPv4 or IPv6 netmask.

Trait Implementations§

source§

impl From<Length> for Netmask

source§

fn from(len: PrefixLength) -> Self

Converts to this type from the input type.
source§

impl Netmask for Netmask