Trait Hostmask

Source
pub trait Hostmask: Mask { }
Expand description

Address-family independent interface for IP hostmasks.

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

See also concrete::Hostmask<A> and any::Hostmask 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 Hostmask for ip::any::Hostmask

Source§

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