Type Alias TransactionMessageType

Source
pub type TransactionMessageType<T> = GenericMessageType<TransactionHeader, T>;
Expand description

The FIDL type for a transaction message with body T.

Aliased Type§

struct TransactionMessageType<T>(/* private fields */);

Trait Implementations

Source§

impl<H: ValueTypeMarker, T: TypeMarker> TypeMarker for GenericMessageType<H, T>

Source§

type Owned = GenericMessageOwned

The owned Rust type which this FIDL type decodes into.
Source§

fn inline_align(context: Context) -> usize

Returns the minimum required alignment of the inline portion of the encoded object. It must be a (nonzero) power of two.
Source§

fn inline_size(context: Context) -> usize

Returns the size of the inline portion of the encoded object, including padding for alignment. Must be a multiple of inline_align.
Source§

fn encode_is_copy() -> bool

Returns true if the memory layout of Self::Owned matches the FIDL wire format and encoding requires no validation. When true, we can optimize encoding arrays and vectors of Self::Owned to a single memcpy. Read more
Source§

fn decode_is_copy() -> bool

Returns true if the memory layout of Self::Owned matches the FIDL wire format and decoding requires no validation. When true, we can optimize decoding arrays and vectors of Self::Owned to a single memcpy.