pub struct DeviceWatchControllerWriteCommandsRequest {
pub address: u8,
pub size: u16,
pub setup_wake_lease: Option<EventPair>,
}Fields§
§address: u8§size: u16§setup_wake_lease: Option<EventPair>Trait Implementations§
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> EncodeOption<Box<'static, DeviceWatchControllerWriteCommandsRequest>, ___E> for DeviceWatchControllerWriteCommandsRequestwhere
___E: Encoder + ?Sized,
DeviceWatchControllerWriteCommandsRequest: Encode<DeviceWatchControllerWriteCommandsRequest, ___E>,
impl<___E> EncodeOption<Box<'static, DeviceWatchControllerWriteCommandsRequest>, ___E> for DeviceWatchControllerWriteCommandsRequestwhere
___E: Encoder + ?Sized,
DeviceWatchControllerWriteCommandsRequest: Encode<DeviceWatchControllerWriteCommandsRequest, ___E>,
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, DeviceWatchControllerWriteCommandsRequest>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, DeviceWatchControllerWriteCommandsRequest>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
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 PartialEq for DeviceWatchControllerWriteCommandsRequest
impl PartialEq for DeviceWatchControllerWriteCommandsRequest
Source§fn eq(&self, other: &DeviceWatchControllerWriteCommandsRequest) -> bool
fn eq(&self, other: &DeviceWatchControllerWriteCommandsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceWatchControllerWriteCommandsRequest
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, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§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]