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