#[repr(C)]pub struct DeviceReadConfig16Response {
pub value: Uint16,
}Expand description
The wire type corresponding to DeviceReadConfig16Response.
Fields§
§value: Uint16Trait Implementations§
Source§impl Clone for DeviceReadConfig16Response
impl Clone for DeviceReadConfig16Response
Source§fn clone(&self) -> DeviceReadConfig16Response
fn clone(&self) -> DeviceReadConfig16Response
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Constrained for DeviceReadConfig16Response
impl Constrained for DeviceReadConfig16Response
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, DeviceReadConfig16Response>,
_: <DeviceReadConfig16Response as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, DeviceReadConfig16Response>, _: <DeviceReadConfig16Response as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl Debug for DeviceReadConfig16Response
impl Debug for DeviceReadConfig16Response
Source§impl<___D> Decode<___D> for DeviceReadConfig16Responsewhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for DeviceReadConfig16Responsewhere
___D: InternalHandleDecoder + ?Sized,
Source§impl<'a, ___E> Encode<DeviceReadConfig16Response, ___E> for &'a DeviceReadConfig16Responsewhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<DeviceReadConfig16Response, ___E> for &'a DeviceReadConfig16Responsewhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceReadConfig16Response>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceReadConfig16Response>, _: (), ) -> 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> Encode<DeviceReadConfig16Response, ___E> for DeviceReadConfig16Responsewhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<DeviceReadConfig16Response, ___E> for DeviceReadConfig16Responsewhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<DeviceReadConfig16Response, DeviceReadConfig16Response>
const COPY_OPTIMIZATION: CopyOptimization<DeviceReadConfig16Response, DeviceReadConfig16Response>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceReadConfig16Response>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceReadConfig16Response>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0> Encode<DeviceReadConfig16Response, ___E> for DeviceReadConfig16Response<T0>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Uint16, ___E>,
impl<___E, T0> Encode<DeviceReadConfig16Response, ___E> for DeviceReadConfig16Response<T0>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Uint16, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceReadConfig16Response>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceReadConfig16Response>, _: (), ) -> 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<DeviceReadConfig16Response> for DeviceReadConfig16Response
impl FromWire<DeviceReadConfig16Response> for DeviceReadConfig16Response
Source§const COPY_OPTIMIZATION: CopyOptimization<DeviceReadConfig16Response, DeviceReadConfig16Response>
const COPY_OPTIMIZATION: CopyOptimization<DeviceReadConfig16Response, DeviceReadConfig16Response>
Source§fn from_wire(wire: DeviceReadConfig16Response) -> DeviceReadConfig16Response
fn from_wire(wire: DeviceReadConfig16Response) -> DeviceReadConfig16Response
Converts the given owned value to this type.
Source§impl FromWireRef<DeviceReadConfig16Response> for DeviceReadConfig16Response
impl FromWireRef<DeviceReadConfig16Response> for DeviceReadConfig16Response
Source§fn from_wire_ref(
wire: &DeviceReadConfig16Response,
) -> DeviceReadConfig16Response
fn from_wire_ref( wire: &DeviceReadConfig16Response, ) -> DeviceReadConfig16Response
Converts the given reference to this type.
Source§impl IntoNatural for DeviceReadConfig16Response
impl IntoNatural for DeviceReadConfig16Response
Source§type Natural = DeviceReadConfig16Response
type Natural = DeviceReadConfig16Response
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 DeviceReadConfig16Response
impl Wire for DeviceReadConfig16Response
Source§type Narrowed<'de> = DeviceReadConfig16Response
type Narrowed<'de> = DeviceReadConfig16Response
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<DeviceReadConfig16Response>)
fn zero_padding(out_: &mut MaybeUninit<DeviceReadConfig16Response>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for DeviceReadConfig16Response
impl RefUnwindSafe for DeviceReadConfig16Response
impl Send for DeviceReadConfig16Response
impl Sync for DeviceReadConfig16Response
impl Unpin for DeviceReadConfig16Response
impl UnsafeUnpin for DeviceReadConfig16Response
impl UnwindSafe for DeviceReadConfig16Response
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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]