pub type ArrayVecMessage<const PAYLOAD_CAP: usize, const N_OPTS: usize, const OPT_CAP: usize> = Message<ArrayVec<[u8; PAYLOAD_CAP]>, ArrayVec<[u8; OPT_CAP]>, ArrayVec<[Opt<ArrayVec<[u8; OPT_CAP]>>; N_OPTS]>>;Expand description
Message that uses static fixed-capacity stack-allocating byte buffers
Aliased Type§
pub struct ArrayVecMessage<const PAYLOAD_CAP: usize, const N_OPTS: usize, const OPT_CAP: usize> {
pub id: Id,
pub ty: Type,
pub ver: Version,
pub token: Token,
pub code: Code,
pub opts: ArrayVec<[Opt<ArrayVec<[u8; OPT_CAP]>>; N_OPTS]>,
pub payload: Payload<ArrayVec<[u8; PAYLOAD_CAP]>>,
}Fields§
§id: Idsee Id for details
ty: Typesee Type for details
ver: Versionsee Version for details
token: Tokensee Token for details
code: Codesee Code for details
opts: ArrayVec<[Opt<ArrayVec<[u8; OPT_CAP]>>; N_OPTS]>see opt::Opt for details
payload: Payload<ArrayVec<[u8; PAYLOAD_CAP]>>see Payload