Trait iprange::ToNetwork [] [src]

pub trait ToNetwork {
    fn to_network(self) -> Ipv4Net;
}

Anything that can be converted to Ipv4Net.

Due to limitation of Rust's type system, this trait is onyl implmentaed for some concrete types.

Required Methods

Implementations on Foreign Types

impl ToNetwork for Ipv4Net
[src]

impl ToNetwork for Ipv4Addr
[src]

impl ToNetwork for u32
[src]

impl ToNetwork for [u8; 4]
[src]

Implementors