Module packable::prefix

source ·
Expand description

Types and utilities used to pack and unpack dynamic sequences of values with restricted length prefixes.

Structs

  • Wrapper type for BTreeSet<T> with a length prefix. The set’s prefix bounds are provided by B, where B is a Bounded type. The prefix type is the Bounds type associated with B.
  • Wrapper type for Box<[T]> with a length prefix. The boxed slice’s prefix bounds are provided by B, where B is a Bounded type. The prefix type is the Bounds type associated with B.
  • Wrapper type for String with a length prefix. The String’s prefix bounds are provided by B, where B is a Bounded type. The prefix type is the Bounds type associated with B.
  • Wrapper type for Vec<T> with a length prefix. The Vec<T>’s prefix bounds are provided by B, where B is a Bounded type. The prefix type is the Bounds type associated with B.

Enums