Trait reth_db_api::database_metrics::DatabaseMetadata

source ·
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§

source

fn metadata(&self) -> DatabaseMetadataValue

Returns a metadata type, DatabaseMetadataValue for the database.

Implementations on Foreign Types§

source§

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

Implementors§