#[repr(C)]pub struct TestAddEthernetDeviceRequest<'de> {
pub topological_path: String<'de>,
pub config: InterfaceConfig<'de>,
pub this_should_be_a_handle: Uint32,
}Expand description
The wire type corresponding to TestAddEthernetDeviceRequest.
Fields§
§topological_path: String<'de>§config: InterfaceConfig<'de>§this_should_be_a_handle: Uint32Trait Implementations§
Source§impl Constrained for TestAddEthernetDeviceRequest<'_>
impl Constrained for TestAddEthernetDeviceRequest<'_>
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, TestAddEthernetDeviceRequest<'_>>,
_: <TestAddEthernetDeviceRequest<'_> as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, TestAddEthernetDeviceRequest<'_>>, _: <TestAddEthernetDeviceRequest<'_> 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<'de> Debug for TestAddEthernetDeviceRequest<'de>
impl<'de> Debug for TestAddEthernetDeviceRequest<'de>
Source§impl<'de, ___D> Decode<___D> for TestAddEthernetDeviceRequest<'de>where
___D: InternalHandleDecoder + Decoder<'de> + ?Sized,
impl<'de, ___D> Decode<___D> for TestAddEthernetDeviceRequest<'de>where
___D: InternalHandleDecoder + Decoder<'de> + ?Sized,
Source§impl<'a, ___E> Encode<TestAddEthernetDeviceRequest<'static>, ___E> for &'a TestAddEthernetDeviceRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<TestAddEthernetDeviceRequest<'static>, ___E> for &'a TestAddEthernetDeviceRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<TestAddEthernetDeviceRequest<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<TestAddEthernetDeviceRequest<'static>>, _: (), ) -> 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<TestAddEthernetDeviceRequest<'static>, ___E> for TestAddEthernetDeviceRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<TestAddEthernetDeviceRequest<'static>, ___E> for TestAddEthernetDeviceRequestwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<TestAddEthernetDeviceRequest<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<TestAddEthernetDeviceRequest<'static>>, _: (), ) -> 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, T1, T2> Encode<TestAddEthernetDeviceRequest<'static>, ___E> for TestAddEthernetDeviceRequest<T0, T1, T2>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<String<'static>, ___E>,
T1: Encode<InterfaceConfig<'static>, ___E>,
T2: Encode<Uint32, ___E>,
impl<___E, T0, T1, T2> Encode<TestAddEthernetDeviceRequest<'static>, ___E> for TestAddEthernetDeviceRequest<T0, T1, T2>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<String<'static>, ___E>,
T1: Encode<InterfaceConfig<'static>, ___E>,
T2: Encode<Uint32, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<TestAddEthernetDeviceRequest<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<TestAddEthernetDeviceRequest<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<TestAddEthernetDeviceRequest<'de>> for TestAddEthernetDeviceRequest
impl<'de> FromWire<TestAddEthernetDeviceRequest<'de>> for TestAddEthernetDeviceRequest
Source§fn from_wire(
wire: TestAddEthernetDeviceRequest<'de>,
) -> TestAddEthernetDeviceRequest
fn from_wire( wire: TestAddEthernetDeviceRequest<'de>, ) -> TestAddEthernetDeviceRequest
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<TestAddEthernetDeviceRequest<'de>> for TestAddEthernetDeviceRequest
impl<'de> FromWireRef<TestAddEthernetDeviceRequest<'de>> for TestAddEthernetDeviceRequest
Source§fn from_wire_ref(
wire: &TestAddEthernetDeviceRequest<'de>,
) -> TestAddEthernetDeviceRequest
fn from_wire_ref( wire: &TestAddEthernetDeviceRequest<'de>, ) -> TestAddEthernetDeviceRequest
Converts the given reference to this type.
Source§impl<'de> IntoNatural for TestAddEthernetDeviceRequest<'de>
impl<'de> IntoNatural for TestAddEthernetDeviceRequest<'de>
Source§type Natural = TestAddEthernetDeviceRequest
type Natural = TestAddEthernetDeviceRequest
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 TestAddEthernetDeviceRequest<'static>
impl Wire for TestAddEthernetDeviceRequest<'static>
Source§type Narrowed<'de> = TestAddEthernetDeviceRequest<'de>
type Narrowed<'de> = TestAddEthernetDeviceRequest<'de>
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<TestAddEthernetDeviceRequest<'static>>)
fn zero_padding(out_: &mut MaybeUninit<TestAddEthernetDeviceRequest<'static>>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl<'de> Freeze for TestAddEthernetDeviceRequest<'de>
impl<'de> RefUnwindSafe for TestAddEthernetDeviceRequest<'de>
impl<'de> Send for TestAddEthernetDeviceRequest<'de>
impl<'de> Sync for TestAddEthernetDeviceRequest<'de>
impl<'de> Unpin for TestAddEthernetDeviceRequest<'de>
impl<'de> UnsafeUnpin for TestAddEthernetDeviceRequest<'de>
impl<'de> !UnwindSafe for TestAddEthernetDeviceRequest<'de>
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§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]