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§
Sourcefn metadata(&self) -> DatabaseMetadataValue
fn metadata(&self) -> DatabaseMetadataValue
Returns a metadata type, DatabaseMetadataValue
for the database.
Implementations on Foreign Types§
Source§impl<DB> DatabaseMetadata for Arc<DB>where
DB: DatabaseMetadata,
impl<DB> DatabaseMetadata for Arc<DB>where
DB: DatabaseMetadata,
fn metadata(&self) -> DatabaseMetadataValue
Implementors§
impl DatabaseMetadata for DatabaseEnv
Available on crate feature
mdbx
only.impl<DB: DatabaseMetadata> DatabaseMetadata for TempDatabase<DB>
Available on crate feature
test-utils
only.