mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-11-16 15:58:14 +00:00
backend: impl Debug
for ConcreteEnv
needed for `tracing::instrument`
This commit is contained in:
parent
112f4c18e4
commit
78f87e7b37
2 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ const PANIC_MSG_MISSING_TABLE: &str =
|
|||
|
||||
//---------------------------------------------------------------------------------------------------- ConcreteEnv
|
||||
/// A strongly typed, concrete database environment, backed by `heed`.
|
||||
#[derive(Debug)]
|
||||
pub struct ConcreteEnv {
|
||||
/// The actual database environment.
|
||||
///
|
||||
|
|
|
@ -14,6 +14,7 @@ use crate::{
|
|||
|
||||
//---------------------------------------------------------------------------------------------------- ConcreteEnv
|
||||
/// A strongly typed, concrete database environment, backed by `redb`.
|
||||
#[derive(Debug)]
|
||||
pub struct ConcreteEnv {
|
||||
/// The actual database environment.
|
||||
env: redb::Database,
|
||||
|
|
Loading…
Reference in a new issue