#[repr(C)]pub struct DataSinkWriteFirmwareResponse {
pub result: WriteFirmwareResult,
}Expand description
The wire type corresponding to DataSinkWriteFirmwareResponse.
Fields§
§result: WriteFirmwareResultTrait Implementations§
Source§impl Clone for DataSinkWriteFirmwareResponse
impl Clone for DataSinkWriteFirmwareResponse
Source§fn clone(&self) -> DataSinkWriteFirmwareResponse
fn clone(&self) -> DataSinkWriteFirmwareResponse
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 DataSinkWriteFirmwareResponse
impl Constrained for DataSinkWriteFirmwareResponse
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, DataSinkWriteFirmwareResponse>,
_: <DataSinkWriteFirmwareResponse as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, DataSinkWriteFirmwareResponse>, _: <DataSinkWriteFirmwareResponse 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<___D> Decode<___D> for DataSinkWriteFirmwareResponsewhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for DataSinkWriteFirmwareResponsewhere
___D: InternalHandleDecoder + ?Sized,
Source§impl<___E> Encode<DataSinkWriteFirmwareResponse, ___E> for DataSinkWriteFirmwareResponsewhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<DataSinkWriteFirmwareResponse, ___E> for DataSinkWriteFirmwareResponsewhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DataSinkWriteFirmwareResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DataSinkWriteFirmwareResponse>, _: (), ) -> 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<DataSinkWriteFirmwareResponse, ___E> for &'a DataSinkWriteFirmwareResponsewhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<DataSinkWriteFirmwareResponse, ___E> for &'a DataSinkWriteFirmwareResponsewhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DataSinkWriteFirmwareResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DataSinkWriteFirmwareResponse>, _: (), ) -> 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<DataSinkWriteFirmwareResponse, ___E> for DataSinkWriteFirmwareResponse<T0>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<WriteFirmwareResult, ___E>,
impl<___E, T0> Encode<DataSinkWriteFirmwareResponse, ___E> for DataSinkWriteFirmwareResponse<T0>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<WriteFirmwareResult, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DataSinkWriteFirmwareResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DataSinkWriteFirmwareResponse>, _: (), ) -> 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, T0> Encode<DataSinkWriteFirmwareResponse, ___E> for &'a DataSinkWriteFirmwareResponse<T0>
impl<'a, ___E, T0> Encode<DataSinkWriteFirmwareResponse, ___E> for &'a DataSinkWriteFirmwareResponse<T0>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DataSinkWriteFirmwareResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DataSinkWriteFirmwareResponse>, _: (), ) -> 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<DataSinkWriteFirmwareResponse> for DataSinkWriteFirmwareResponse
impl FromWire<DataSinkWriteFirmwareResponse> for DataSinkWriteFirmwareResponse
Source§fn from_wire(
wire: DataSinkWriteFirmwareResponse,
) -> DataSinkWriteFirmwareResponse
fn from_wire( wire: DataSinkWriteFirmwareResponse, ) -> DataSinkWriteFirmwareResponse
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<DataSinkWriteFirmwareResponse> for DataSinkWriteFirmwareResponse
impl FromWireRef<DataSinkWriteFirmwareResponse> for DataSinkWriteFirmwareResponse
Source§fn from_wire_ref(
wire: &DataSinkWriteFirmwareResponse,
) -> DataSinkWriteFirmwareResponse
fn from_wire_ref( wire: &DataSinkWriteFirmwareResponse, ) -> DataSinkWriteFirmwareResponse
Converts the given reference to this type.
Source§impl IntoNatural for DataSinkWriteFirmwareResponse
impl IntoNatural for DataSinkWriteFirmwareResponse
Source§type Natural = DataSinkWriteFirmwareResponse
type Natural = DataSinkWriteFirmwareResponse
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 DataSinkWriteFirmwareResponse
impl Wire for DataSinkWriteFirmwareResponse
Source§type Narrowed<'de> = DataSinkWriteFirmwareResponse
type Narrowed<'de> = DataSinkWriteFirmwareResponse
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<DataSinkWriteFirmwareResponse>)
fn zero_padding(out_: &mut MaybeUninit<DataSinkWriteFirmwareResponse>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for DataSinkWriteFirmwareResponse
impl RefUnwindSafe for DataSinkWriteFirmwareResponse
impl Send for DataSinkWriteFirmwareResponse
impl Sync for DataSinkWriteFirmwareResponse
impl Unpin for DataSinkWriteFirmwareResponse
impl UnsafeUnpin for DataSinkWriteFirmwareResponse
impl UnwindSafe for DataSinkWriteFirmwareResponse
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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]