Struct nix::sys::socket::Ipv6Addr
[−]
[src]
pub struct Ipv6Addr(pub in6_addr);
Methods
impl Ipv6Addr
[src]
impl Ipv6Addr
pub fn new(
a: u16,
b: u16,
c: u16,
d: u16,
e: u16,
f: u16,
g: u16,
h: u16
) -> Ipv6Addr
[src]
pub fn new(
a: u16,
b: u16,
c: u16,
d: u16,
e: u16,
f: u16,
g: u16,
h: u16
) -> Ipv6Addr
pub fn from_std(std: &Ipv6Addr) -> Ipv6Addr
[src]
pub fn from_std(std: &Ipv6Addr) -> Ipv6Addr
pub fn segments(&self) -> [u16; 8]
[src]
pub fn segments(&self) -> [u16; 8]
Return the eight 16-bit segments that make up this address
pub fn to_std(&self) -> Ipv6Addr
[src]
pub fn to_std(&self) -> Ipv6Addr
Trait Implementations
impl Clone for Ipv6Addr
[src]
impl Clone for Ipv6Addr
fn clone(&self) -> Ipv6Addr
[src]
fn clone(&self) -> Ipv6Addr
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Ipv6Addr
[src]
impl Copy for Ipv6Addr
impl Display for Ipv6Addr
[src]
impl Display for Ipv6Addr