Struct nix::sys::socket::Ipv6Addr [] [src]

pub struct Ipv6Addr(pub in6_addr);

Methods

impl Ipv6Addr

fn new(a: u16, b: u16, c: u16, d: u16, e: u16, f: u16, g: u16, h: u16) -> Ipv6Addr

fn from_std(std: &Ipv6Addr) -> Ipv6Addr

fn segments(&self) -> [u16; 8]

Return the eight 16-bit segments that make up this address

fn to_std(&self) -> Ipv6Addr

Trait Implementations

impl Display for Ipv6Addr

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

Derived Implementations

impl Copy for Ipv6Addr

impl Clone for Ipv6Addr

fn clone(&self) -> Ipv6Addr

fn clone_from(&mut self, source: &Self)