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