Trait reth_db::static_file::ColumnSelectorTwo

source ·
pub trait ColumnSelectorTwo {
    type FIRST: Decompress;
    type SECOND: Decompress;

    const MASK: usize;
}
Expand description

Trait for specifying a mask to select two column values.

Required Associated Constants§

source

const MASK: usize

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

Required Associated Types§

source

type FIRST: Decompress

First desired column value

source

type SECOND: Decompress

Second desired column value

Object Safety§

This trait is not object safe.

Implementors§

source§

impl ColumnSelectorTwo for HeaderMask<<HeaderTerminalDifficulties as Table>::Value, BlockHash>

source§

const MASK: usize = 6usize

source§

type FIRST = <HeaderTerminalDifficulties as Table>::Value

source§

type SECOND = FixedBytes<32>

source§

impl ColumnSelectorTwo for HeaderMask<Header, BlockHash>

source§

const MASK: usize = 5usize

source§

type FIRST = Header

source§

type SECOND = FixedBytes<32>