Struct ipnetwork::Ipv6Network [] [src]

pub struct Ipv6Network {
    // some fields omitted
}

Methods

impl Ipv6Network
[src]

fn new(addr: Ipv6Addr, prefix: u8) -> Ipv6Network

fn ip(&self) -> &Ipv6Addr

fn prefix(&self) -> u8

Trait Implementations

impl Debug for Ipv6Network
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.