chore: make inner private (#5445)

This commit is contained in:
Matthias Seitz
2023-11-15 20:03:54 +01:00
committed by GitHub
parent 49f4606583
commit 8459fb0ada

View File

@@ -31,11 +31,11 @@ pub enum DatabaseEnvKind {
RW,
}
/// Wrapper for the libmdbx environment.
/// Wrapper for the libmdbx environment: [Environment]
#[derive(Debug)]
pub struct DatabaseEnv {
/// Libmdbx-sys environment.
pub inner: Environment,
inner: Environment,
/// Whether to record metrics or not.
with_metrics: bool,
}