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