Trait subxt::utils::bits::BitStore

source ·
pub trait BitStore {
    const FORMAT: StoreFormat;
    const BITS: u32;
}
Expand description

Associates bitvec::store::BitStore trait with corresponding, type-erased scale_bits::StoreFormat enum.

Used to decode bit sequences by providing scale_bits::StoreFormat using bitvec-like type type parameters.

Required Associated Constants§

Corresponding scale_bits::StoreFormat value.

Number of bits that the backing store types holds.

Implementations on Foreign Types§

Implementors§