Fields
pub 0: libc::in6_addr
Implementations
impl Ipv6Addr
pub fn from_std(std: &net::Ipv6Addr) -> Ipv6Addr
pub const fn segments(&Self) -> [u16; 8]
Return the eight 16-bit segments that make up this address
pub const fn to_std(&Self) -> net::Ipv6Addr
Trait Implementations
impl Debug for Ipv6Addr
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for Ipv6Addr
fn fmt(&Self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result
impl Hash for Ipv6Addr
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl StructuralEq for Ipv6Addr
impl StructuralPartialEq for Ipv6Addr
Auto Trait Implementations
impl RefUnwindSafe for Ipv6Addr
impl UnwindSafe for Ipv6Addr
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T