Module subxt_core::utils::bits
source · Expand description
Generic scale_bits over bitvec-like BitOrder and BitFormat types.
Structs§
scale_bits::Bitsgeneric over the bit store (u8/u16/u32/u64) and bit order (LSB, MSB) used for SCALE encoding/decoding. Usesscale_bits::Bits-defaultu8and LSB format underneath.
Enums§
- Type-level value that corresponds to
scale_bits::OrderFormat::Lsb0at run-time andbitvec::order::BitOrder::Lsb0at the type level. - Type-level value that corresponds to
scale_bits::OrderFormat::Msb0at run-time andbitvec::order::BitOrder::Msb0at the type level.
Traits§
- Associates
bitvec::order::BitOrdertrait with corresponding, type-erasedscale_bits::OrderFormatenum. - Associates
bitvec::store::BitStoretrait with corresponding, type-erasedscale_bits::StoreFormatenum.