pub struct Ipv6Address(pub [u8; 16]);Expand description
IPv6 address (16 bytes)
Tuple Fields§
§0: [u8; 16]Implementations§
Source§impl Ipv6Address
impl Ipv6Address
pub const LOCALHOST: Self
pub const UNSPECIFIED: Self
pub const ANY: Self
pub const ALL_NODES_LINK_LOCAL: Self
pub const ALL_ROUTERS_LINK_LOCAL: Self
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§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 Ord for Ipv6Address
impl Ord for Ipv6Address
Source§impl PartialEq for Ipv6Address
impl PartialEq for Ipv6Address
Source§impl PartialOrd for Ipv6Address
impl PartialOrd for Ipv6Address
Source§fn partial_cmp(&self, other: &Ipv6Address) -> Option<Ordering>
fn partial_cmp(&self, other: &Ipv6Address) -> Option<Ordering>
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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)