#[repr(C)]pub struct PortGetMacRequest {
pub mac: ServerEnd<MacAddressing, Channel>,
}Expand description
The wire type corresponding to PortGetMacRequest.
Fields§
§mac: ServerEnd<MacAddressing, Channel>Trait Implementations§
Source§impl Constrained for PortGetMacRequest
impl Constrained for PortGetMacRequest
Source§impl Debug for PortGetMacRequest
impl Debug for PortGetMacRequest
Source§impl<___D> Decode<___D> for PortGetMacRequestwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for PortGetMacRequestwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl<___E> Encode<PortGetMacRequest, ___E> for PortGetMacRequestwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<PortGetMacRequest, ___E> for PortGetMacRequestwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, PortGetMacRequest>
const COPY_OPTIMIZATION: CopyOptimization<Self, PortGetMacRequest>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<PortGetMacRequest>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<PortGetMacRequest>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0> Encode<PortGetMacRequest, ___E> for PortGetMacRequest<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<ServerEnd<MacAddressing, Channel>, ___E>,
impl<___E, T0> Encode<PortGetMacRequest, ___E> for PortGetMacRequest<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<ServerEnd<MacAddressing, Channel>, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<PortGetMacRequest>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<PortGetMacRequest>, _: (), ) -> 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<PortGetMacRequest, ___E> for &'a PortGetMacRequest<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
&'a T0: Encode<ServerEnd<MacAddressing, Channel>, ___E>,
impl<'a, ___E, T0> Encode<PortGetMacRequest, ___E> for &'a PortGetMacRequest<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
&'a T0: Encode<ServerEnd<MacAddressing, Channel>, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<PortGetMacRequest>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<PortGetMacRequest>, _: (), ) -> 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<PortGetMacRequest> for PortGetMacRequest
impl FromWire<PortGetMacRequest> for PortGetMacRequest
Source§const COPY_OPTIMIZATION: CopyOptimization<PortGetMacRequest, Self>
const COPY_OPTIMIZATION: CopyOptimization<PortGetMacRequest, Self>
Source§fn from_wire(wire: PortGetMacRequest) -> Self
fn from_wire(wire: PortGetMacRequest) -> Self
Converts the given owned value to this type.
Source§impl IntoNatural for PortGetMacRequest
impl IntoNatural for PortGetMacRequest
Source§type Natural = PortGetMacRequest
type Natural = PortGetMacRequest
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 PortGetMacRequest
impl Wire for PortGetMacRequest
Source§type Narrowed<'de> = PortGetMacRequest
type Narrowed<'de> = PortGetMacRequest
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 PortGetMacRequest
impl RefUnwindSafe for PortGetMacRequest
impl Send for PortGetMacRequest
impl Sync for PortGetMacRequest
impl Unpin for PortGetMacRequest
impl UnsafeUnpin for PortGetMacRequest
impl UnwindSafe for PortGetMacRequest
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
§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]