#[repr(u8)]pub enum DataPlaneType {
EthernetDevice = 1,
GenericNetworkDevice = 2,
UnknownOrdinal_(u8),
}Expand description
Indicates where data plane is implemented.
Variants§
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 Debug for DataPlaneType
impl Debug for DataPlaneType
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 From<u8> for DataPlaneType
impl From<u8> for DataPlaneType
Source§fn from(value: u8) -> DataPlaneType
fn from(value: u8) -> 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 Hash for DataPlaneType
impl Hash for DataPlaneType
Source§impl Ord for DataPlaneType
impl Ord for DataPlaneType
Source§fn cmp(&self, other: &DataPlaneType) -> Ordering
fn cmp(&self, other: &DataPlaneType) -> Ordering
1.21.0 (const: unstable) · 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 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 PartialOrd for DataPlaneType
impl PartialOrd for DataPlaneType
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, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§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]