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
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,
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.