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