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