Trait Mask

Source
pub trait Mask:
    Clone
    + Copy
    + Debug
    + Hash
    + PartialEq
    + Eq { }
Expand description

Address-family independent interface for IP masks.

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

See also concrete::Mask<T, A> and any::Mask<T> 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<T: Type> Mask for ip::any::Mask<T>

Source§

impl<T: Type, A: Afi> Mask for ip::concrete::Mask<T, A>