[][src]Trait rtable::prefix::AddressLen

pub trait AddressLen {
    fn address_len() -> u8;
fn empty_new() -> Self; }

Trait to extend IpAddr.

Required methods

fn address_len() -> u8

Return address length in bits.

fn empty_new() -> Self

Construct address with all 0s.

Loading content...

Implementations on Foreign Types

impl AddressLen for Ipv4Addr[src]

Trait implementation for Ipv4Addr.

fn address_len() -> u8[src]

Return address length in bits.

fn empty_new() -> Self[src]

Construct address with all 0s.

impl AddressLen for Ipv6Addr[src]

Trait implementation for Ipv6Addr.

fn address_len() -> u8[src]

Return address length in bits.

fn empty_new() -> Self[src]

Construct address with all 0s.

Loading content...

Implementors

Loading content...