ColumnSelectorOne

Trait ColumnSelectorOne 

pub trait ColumnSelectorOne {
    type FIRST: Decompress;

    const MASK: usize;
}
Available on crate feature provider only.
Expand description

Trait for specifying a mask to select one column value.

Required Associated Constants§

const MASK: usize

Mask to obtain desired values, should correspond to the order of columns in a static_file.

Required Associated Types§

type FIRST: Decompress

First desired column 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.

Implementors§

§

impl ColumnSelectorOne for BlockHashMask
where FixedBytes<32>: Send + Sync + Debug + Decompress,

§

const MASK: usize = 4usize

§

type FIRST = FixedBytes<32>

§

impl ColumnSelectorOne for TotalDifficultyMask

§

impl<H> ColumnSelectorOne for HeaderMask<H>
where H: Send + Sync + Debug + Decompress,

§

const MASK: usize = 1usize

§

type FIRST = H

§

impl<R> ColumnSelectorOne for ReceiptMask<R>
where R: Send + Sync + Debug + Decompress,

§

const MASK: usize = 1usize

§

type FIRST = R

§

impl<T> ColumnSelectorOne for TransactionMask<T>
where T: Send + Sync + Debug + Decompress,

§

const MASK: usize = 1usize

§

type FIRST = T