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