Trait subxt_core::utils::bits::BitOrder

source ·
pub trait BitOrder {
    const FORMAT: OrderFormat;
}
Expand description

Associates bitvec::order::BitOrder trait with corresponding, type-erased scale_bits::OrderFormat enum.

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

Required Associated Constants§

source

const FORMAT: OrderFormat

Corresponding scale_bits::OrderFormat value.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl BitOrder for Lsb0

source§

const FORMAT: OrderFormat = OrderFormat::Lsb0

source§

impl BitOrder for Msb0

source§

const FORMAT: OrderFormat = OrderFormat::Msb0