#[repr(C)]pub struct DeviceWatchControllerWriteCommandsRequest {
pub address: u8,
pub size: Uint16,
pub setup_wake_lease: OptionalEventPair,
}Expand description
The wire type corresponding to DeviceWatchControllerWriteCommandsRequest.
Fields§
§address: u8§size: Uint16§setup_wake_lease: OptionalEventPairTrait Implementations§
Source§impl Constrained for DeviceWatchControllerWriteCommandsRequest
impl Constrained for DeviceWatchControllerWriteCommandsRequest
Source§impl<___D> Decode<___D> for DeviceWatchControllerWriteCommandsRequestwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for DeviceWatchControllerWriteCommandsRequestwhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl<___E> Encode<DeviceWatchControllerWriteCommandsRequest, ___E> for DeviceWatchControllerWriteCommandsRequestwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<DeviceWatchControllerWriteCommandsRequest, ___E> for DeviceWatchControllerWriteCommandsRequestwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceWatchControllerWriteCommandsRequest>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceWatchControllerWriteCommandsRequest>, _: (), ) -> 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<DeviceWatchControllerWriteCommandsRequest, ___E> for DeviceWatchControllerWriteCommandsRequest<T0, T1, T2>
impl<___E, T0, T1, T2> Encode<DeviceWatchControllerWriteCommandsRequest, ___E> for DeviceWatchControllerWriteCommandsRequest<T0, T1, T2>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceWatchControllerWriteCommandsRequest>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceWatchControllerWriteCommandsRequest>, _: (), ) -> 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<DeviceWatchControllerWriteCommandsRequest> for DeviceWatchControllerWriteCommandsRequest
impl FromWire<DeviceWatchControllerWriteCommandsRequest> for DeviceWatchControllerWriteCommandsRequest
Source§fn from_wire(wire: DeviceWatchControllerWriteCommandsRequest) -> Self
fn from_wire(wire: DeviceWatchControllerWriteCommandsRequest) -> 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 DeviceWatchControllerWriteCommandsRequest
impl IntoNatural for DeviceWatchControllerWriteCommandsRequest
Source§type Natural = DeviceWatchControllerWriteCommandsRequest
type Natural = DeviceWatchControllerWriteCommandsRequest
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 DeviceWatchControllerWriteCommandsRequest
impl Wire for DeviceWatchControllerWriteCommandsRequest
Source§type Narrowed<'de> = DeviceWatchControllerWriteCommandsRequest
type Narrowed<'de> = DeviceWatchControllerWriteCommandsRequest
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 DeviceWatchControllerWriteCommandsRequest
impl RefUnwindSafe for DeviceWatchControllerWriteCommandsRequest
impl Send for DeviceWatchControllerWriteCommandsRequest
impl Sync for DeviceWatchControllerWriteCommandsRequest
impl Unpin for DeviceWatchControllerWriteCommandsRequest
impl UnsafeUnpin for DeviceWatchControllerWriteCommandsRequest
impl UnwindSafe for DeviceWatchControllerWriteCommandsRequest
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<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]