less pub(crate)

This commit is contained in:
Alex 2022-06-07 17:23:17 +02:00
parent 6f3d43b75b
commit 1bbe0794f3
Signed by: lx
GPG key ID: 0E496D15096376BE

View file

@ -18,10 +18,10 @@ use err_derive::Error;
#[derive(Clone)]
pub struct Db(pub(crate) Arc<dyn IDb>);
pub struct Transaction<'a>(pub(crate) &'a mut dyn ITx);
pub struct Transaction<'a>(&'a mut dyn ITx);
#[derive(Clone)]
pub struct Tree(pub(crate) Arc<dyn IDb>, pub(crate) usize);
pub struct Tree(Arc<dyn IDb>, usize);
pub type Value = Vec<u8>;
pub type ValueIter<'a> = Box<dyn std::iter::Iterator<Item = Result<(Value, Value)>> + 'a>;