reth_db::tables

Trait TableSet

Source
pub trait TableSet {
    // Required method
    fn tables() -> Box<dyn Iterator<Item = Box<dyn TableInfo>>>;
}
Expand description

General trait for defining the set of tables Used to initialize database

Required Methods§

Source

fn tables() -> Box<dyn Iterator<Item = Box<dyn TableInfo>>>

Returns an iterator over the tables

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§