#[repr(C)]pub struct Ipv6Address {
pub addr: [u8; 16],
}Expand description
The wire type corresponding to Ipv6Address.
Fields§
§addr: [u8; 16]Trait Implementations§
Source§impl Clone for Ipv6Address
impl Clone for Ipv6Address
Source§impl Constrained for Ipv6Address
impl Constrained for Ipv6Address
Source§impl Debug for Ipv6Address
impl Debug for Ipv6Address
Source§impl<___D> Decode<___D> for Ipv6Addresswhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for Ipv6Addresswhere
___D: InternalHandleDecoder + ?Sized,
Source§impl<___E> Encode<Ipv6Address, ___E> for Ipv6Addresswhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Ipv6Address, ___E> for Ipv6Addresswhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, Ipv6Address>
const COPY_OPTIMIZATION: CopyOptimization<Self, Ipv6Address>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<Ipv6Address>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<Ipv6Address>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<'a, ___E> Encode<Ipv6Address, ___E> for &'a Ipv6Addresswhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Ipv6Address, ___E> for &'a Ipv6Addresswhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<Ipv6Address>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<Ipv6Address>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E, T0> Encode<Ipv6Address, ___E> for Ipv6Address<T0>
impl<___E, T0> Encode<Ipv6Address, ___E> for Ipv6Address<T0>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<Ipv6Address>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<Ipv6Address>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E, T0> Encode<Ipv6Address, ___E> for &'a Ipv6Address<T0>
impl<'a, ___E, T0> Encode<Ipv6Address, ___E> for &'a Ipv6Address<T0>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<Ipv6Address>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<Ipv6Address>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<Ipv6Address> for Ipv6Address
impl FromWire<Ipv6Address> for Ipv6Address
Source§const COPY_OPTIMIZATION: CopyOptimization<Ipv6Address, Self>
const COPY_OPTIMIZATION: CopyOptimization<Ipv6Address, Self>
Source§fn from_wire(wire: Ipv6Address) -> Self
fn from_wire(wire: Ipv6Address) -> Self
Converts the given owned value to this type.
Source§impl FromWireRef<Ipv6Address> for Ipv6Address
impl FromWireRef<Ipv6Address> for Ipv6Address
Source§fn from_wire_ref(wire: &Ipv6Address) -> Self
fn from_wire_ref(wire: &Ipv6Address) -> Self
Converts the given reference to this type.
Source§impl IntoNatural for Ipv6Address
impl IntoNatural for Ipv6Address
Source§type Natural = Ipv6Address
type Natural = Ipv6Address
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for Ipv6Address
impl Wire for Ipv6Address
Source§type Narrowed<'de> = Ipv6Address
type Narrowed<'de> = Ipv6Address
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<Self>)
fn zero_padding(out_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for Ipv6Address
impl RefUnwindSafe for Ipv6Address
impl Send for Ipv6Address
impl Sync for Ipv6Address
impl Unpin for Ipv6Address
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]