Trait Netmask

Source
pub trait Netmask: Mask { }
Expand description

Address-family independent interface for IP netmasks.

Methods on Netmask types that are well defined for all address-families are implemented via this trait.

See also concrete::Netmask<A> and any::Netmask for address-family specific items.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Netmask for ip::any::Netmask

Source§

impl<A: Afi> Netmask for ip::concrete::Netmask<A>