reth_db_api::database_metrics

Trait 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§