reth_db::static_file

Trait 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

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§