Module subxt_core::utils::bits
source · Expand description
Generic scale_bits
over bitvec
-like BitOrder
and BitFormat
types.
Structs§
scale_bits::Bits
generic over the bit store (u8
/u16
/u32
/u64
) and bit order (LSB, MSB) used for SCALE encoding/decoding. Usesscale_bits::Bits
-defaultu8
and LSB format underneath.
Enums§
- Type-level value that corresponds to
scale_bits::OrderFormat::Lsb0
at run-time andbitvec::order::BitOrder::Lsb0
at the type level. - Type-level value that corresponds to
scale_bits::OrderFormat::Msb0
at run-time andbitvec::order::BitOrder::Msb0
at the type level.
Traits§
- Associates
bitvec::order::BitOrder
trait with corresponding, type-erasedscale_bits::OrderFormat
enum. - Associates
bitvec::store::BitStore
trait with corresponding, type-erasedscale_bits::StoreFormat
enum.