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