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