Trait cidr_utils::cidr::Ipv4Able[][src]

pub trait Ipv4Able {
    fn get_u32(&self) -> u32;
}

The type which can be taken as an IPv4 address. An u32 value represents an IPv4 byte array ([u8; 4]) in big-endian (BE) order.

Required methods

fn get_u32(&self) -> u32[src]

Loading content...

Implementations on Foreign Types

impl Ipv4Able for u32[src]

impl Ipv4Able for [u8; 4][src]

impl Ipv4Able for Ipv4Addr[src]

impl<T: Ipv4Able> Ipv4Able for &T[src]

Loading content...

Implementors

Loading content...