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