pub struct DataPlaneType { /* private fields */ }Expand description
The wire type corresponding to DataPlaneType.
Implementations§
Source§impl DataPlaneType
impl DataPlaneType
pub const ETHERNET_DEVICE: DataPlaneType
pub const GENERIC_NETWORK_DEVICE: DataPlaneType
Trait Implementations§
Source§impl Clone for DataPlaneType
impl Clone for DataPlaneType
Source§fn clone(&self) -> DataPlaneType
fn clone(&self) -> DataPlaneType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Constrained for DataPlaneType
impl Constrained for DataPlaneType
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, DataPlaneType>,
_: <DataPlaneType as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, DataPlaneType>, _: <DataPlaneType as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl Debug for DataPlaneType
impl Debug for DataPlaneType
Source§impl<___D> Decode<___D> for DataPlaneTypewhere
___D: ?Sized,
impl<___D> Decode<___D> for DataPlaneTypewhere
___D: ?Sized,
Source§impl<'a, ___E> Encode<DataPlaneType, ___E> for &'a DataPlaneTypewhere
___E: ?Sized,
impl<'a, ___E> Encode<DataPlaneType, ___E> for &'a DataPlaneTypewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<DataPlaneType>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<DataPlaneType>, _: (), ) -> 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> Encode<DataPlaneType, ___E> for DataPlaneTypewhere
___E: ?Sized,
impl<___E> Encode<DataPlaneType, ___E> for DataPlaneTypewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<DataPlaneType>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<DataPlaneType>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<DataPlaneType> for DataPlaneType
impl From<DataPlaneType> for DataPlaneType
Source§fn from(wire: DataPlaneType) -> DataPlaneType
fn from(wire: DataPlaneType) -> DataPlaneType
Converts to this type from the input type.
Source§impl From<DataPlaneType> for DataPlaneType
impl From<DataPlaneType> for DataPlaneType
Source§fn from(natural: DataPlaneType) -> DataPlaneType
fn from(natural: DataPlaneType) -> DataPlaneType
Converts to this type from the input type.
Source§impl FromWire<DataPlaneType> for DataPlaneType
impl FromWire<DataPlaneType> for DataPlaneType
Source§fn from_wire(wire: DataPlaneType) -> DataPlaneType
fn from_wire(wire: DataPlaneType) -> DataPlaneType
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<DataPlaneType> for DataPlaneType
impl FromWireRef<DataPlaneType> for DataPlaneType
Source§fn from_wire_ref(wire: &DataPlaneType) -> DataPlaneType
fn from_wire_ref(wire: &DataPlaneType) -> DataPlaneType
Converts the given reference to this type.
Source§impl IntoNatural for DataPlaneType
impl IntoNatural for DataPlaneType
Source§type Natural = DataPlaneType
type Natural = DataPlaneType
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 PartialEq for DataPlaneType
impl PartialEq for DataPlaneType
Source§fn eq(&self, other: &DataPlaneType) -> bool
fn eq(&self, other: &DataPlaneType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Wire for DataPlaneType
impl Wire for DataPlaneType
Source§type Narrowed<'de> = DataPlaneType
type Narrowed<'de> = DataPlaneType
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<DataPlaneType>)
fn zero_padding(_: &mut MaybeUninit<DataPlaneType>)
Writes zeroes to the padding for this type, if any.
impl Copy for DataPlaneType
impl Eq for DataPlaneType
impl StructuralPartialEq for DataPlaneType
Auto Trait Implementations§
impl Freeze for DataPlaneType
impl RefUnwindSafe for DataPlaneType
impl Send for DataPlaneType
impl Sync for DataPlaneType
impl Unpin for DataPlaneType
impl UnsafeUnpin for DataPlaneType
impl UnwindSafe for DataPlaneType
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
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]