Struct Ipv6Addr
pub struct Ipv6Addr(/* private field */);
no_std implementation of std::net::Ipv6Addr.
Note: because we intend to replace this type with core::net::Ipv6Addr as soon as it is
stabilized, the identity of this type should not be considered semver-stable. However, the
attached interfaces are stable; they form a subset of those provided by core::net::Ipv6Addr.
Trait Implementations
impl AsRef<[u8; 16]> for Ipv6Addr
fn as_ref(&self) -> &[u8; 16]
impl Clone for Ipv6Addr
fn clone(&self) -> Ipv6Addr
impl Copy for Ipv6Addr
impl Debug for Ipv6Addr
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Ipv6Addr
impl From<Ipv6Addr> for Ipv6Addr
fn from(addr: Ipv6Addr) -> Self
impl From<[u16; 8]> for Ipv6Addr
fn from(value: [u16; 8]) -> Self
impl Hash for Ipv6Addr
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for Ipv6Addr
fn eq(&self, other: &Ipv6Addr) -> bool
impl StructuralPartialEq for Ipv6Addr
impl TryFrom<&str> for Ipv6Addr
type Error = AddrParseError;fn try_from(value: &str) -> Result<Self, Self::Error>
Auto Trait Implementations
impl Freeze for Ipv6Addr
impl RefUnwindSafe for Ipv6Addr
impl Send for Ipv6Addr
impl Sync for Ipv6Addr
impl Unpin for Ipv6Addr
impl UnsafeUnpin for Ipv6Addr
impl UnwindSafe for Ipv6Addr
Blanket Implementations
impl<T> Any for Ipv6Addr
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Ipv6Addr
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Ipv6Addr
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Ipv6Addr
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Ipv6Addr
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Ipv6Addr
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for Ipv6Addr
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Ipv6Addr
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Ipv6Addr
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>