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§
sourceconst FORMAT: StoreFormat
const FORMAT: StoreFormat
Corresponding scale_bits::StoreFormat
value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.