Type Alias gear_core::message::Payload

source ·
pub type Payload = LimitedVec<u8, PayloadSizeError, MAX_PAYLOAD_SIZE>;
Expand description

Payload type for message.

Aliased Type§

struct Payload(/* private fields */);

Implementations§

source§

impl Payload

source

pub fn len_u32(&self) -> u32

Get payload length as u32.