Struct nix::sys::socket::Ipv6Addr
[−]
[src]
pub struct Ipv6Addr(pub in6_addr);
Methods
impl Ipv6Addr
[src]
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 Copy for Ipv6Addr
[src]
impl Clone for Ipv6Addr
[src]
fn clone(&self) -> Ipv6Addr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more