#[repr(C)]pub struct Ipv6Address {
pub addr: [u8; 16],
}
Expand description
IPv6 Address
Binary representation of an IPv6 address, encoded in network byte order (i.e., big endian). Similar to the IPv4 address, no special alignment restrictions are defined by the standard specification.
Fields§
§addr: [u8; 16]
Trait Implementations§
Source§impl Clone for Ipv6Address
impl Clone for Ipv6Address
Source§fn clone(&self) -> Ipv6Address
fn clone(&self) -> Ipv6Address
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Ipv6Address
impl Debug for Ipv6Address
Source§impl Hash for Ipv6Address
impl Hash for Ipv6Address
Source§impl Ord for Ipv6Address
impl Ord for Ipv6Address
Source§fn cmp(&self, other: &Ipv6Address) -> Ordering
fn cmp(&self, other: &Ipv6Address) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Ipv6Address
impl PartialEq for Ipv6Address
Source§impl PartialOrd for Ipv6Address
impl PartialOrd for Ipv6Address
impl Copy for Ipv6Address
impl Eq for Ipv6Address
impl StructuralPartialEq for Ipv6Address
Auto Trait Implementations§
impl Freeze for Ipv6Address
impl RefUnwindSafe for Ipv6Address
impl Send for Ipv6Address
impl Sync for Ipv6Address
impl Unpin for Ipv6Address
impl UnwindSafe for Ipv6Address
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more