Trait iprange::ToNetwork

source ·
pub trait ToNetwork<N: IpNet> {
    fn to_network(&self) -> N;
}
Expand description

Anything that can be converted to IpNet.

Due to limitation of Rust’s type system, this trait is only implemented for some concrete types.

Required Methods§

Implementations on Foreign Types§

Implementors§