reth_db::database_metrics

Trait DatabaseMetadata

pub trait DatabaseMetadata {
    // Required method
    fn metadata(&self) -> DatabaseMetadataValue;
}
Expand description

Includes a method to return a DatabaseMetadataValue type, which can be used to dynamically retrieve information about the database.

Required Methods§

fn metadata(&self) -> DatabaseMetadataValue

Returns a metadata type, DatabaseMetadataValue for the database.

Implementations on Foreign Types§

§

impl<DB> DatabaseMetadata for Arc<DB>
where DB: DatabaseMetadata,

Implementors§

Source§

impl DatabaseMetadata for DatabaseEnv

Available on crate feature mdbx only.
Source§

impl<DB: DatabaseMetadata> DatabaseMetadata for TempDatabase<DB>

Available on crate feature test-utils only.