Module blaze_pk::types

source ·
Expand description

Types implementation for custom types used while encoding values with Blaze packets

Structs

  • Blob structure wrapping a vec of bytes. This implementation is to differenciate between a list of VarInts and a Blob of straight bytes
  • Iterator implementation for iterating over TdfMap
  • Iterator type sitting ontop of the map entries to produce unions of the key values from the vec of map entries
  • Structure for maps used in the protocol. These maps have a special order that is usually required and they retain the order of insertion because it uses two vecs as the underlying structure
  • List of Var ints

Enums

  • Type that can be unset or contain a pair of key values

Constants

Traits

  • Trait that must be implemented on a type for it to be considered a map key
  • Trait implemented by VarInt types

Type Definitions

  • Pair type alias. (Note Pairs should only ever be used with VarInts)
  • Triple type alias. (Note Triples should only ever be used with VarInts)