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