reth_db_api::table

Trait TableInfo

Source
pub trait TableInfo:
    Send
    + Sync
    + Debug
    + 'static {
    // Required methods
    fn name(&self) -> &'static str;
    fn is_dupsort(&self) -> bool;
}
Expand description

Trait that provides object-safe access to the table’s metadata.

Required Methods§

Source

fn name(&self) -> &'static str

The table’s name.

Source

fn is_dupsort(&self) -> bool

Whether the table is a DUPSORT table.

Implementors§