Types

Trait Types 

Source
pub trait Types: Default {
    type Decoder: Types;
    type Fragment: Vec<u8>;
    type URType: Vec<u8>;
}
Expand description

Types for BaseDecoder.

Required Associated Types§

Source

type Decoder: Types

Fountain decoder.

Source

type Fragment: Vec<u8>

CBOR decoding buffer.

Source

type URType: Vec<u8>

The UR type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Types for Alloc

Source§

impl<const MAX_MESSAGE_LEN: usize, const MAX_MIXED_PARTS: usize, const MAX_FRAGMENT_LEN: usize, const MAX_SEQUENCE_COUNT: usize, const QUEUE_SIZE: usize, const MAX_UR_TYPE: usize> Types for Heapless<MAX_MESSAGE_LEN, MAX_MIXED_PARTS, MAX_FRAGMENT_LEN, MAX_SEQUENCE_COUNT, QUEUE_SIZE, MAX_UR_TYPE>

Source§

type Decoder = Heapless<MAX_MESSAGE_LEN, MAX_MIXED_PARTS, MAX_FRAGMENT_LEN, MAX_SEQUENCE_COUNT, QUEUE_SIZE>

Source§

type Fragment = Vec<u8, MAX_FRAGMENT_LEN>

Source§

type URType = Vec<u8, MAX_UR_TYPE>