diff options
-rw-r--r-- | src/db/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/lib.rs b/src/db/lib.rs index 6de296af..ce1b1c8b 100644 --- a/src/db/lib.rs +++ b/src/db/lib.rs @@ -23,7 +23,7 @@ pub struct Tree(pub(crate) Arc<dyn IDb>, pub(crate) usize); pub type Value<'a> = Cow<'a, [u8]>; pub type ValueIter<'a> = - Box<dyn std::iter::Iterator<Item = Result<(Value<'a>, Value<'a>)>> + 'a>; + Box<dyn std::iter::Iterator<Item = Result<(Value<'a>, Value<'a>)>> + Send + 'a>; pub type Exporter<'a> = Box<dyn std::iter::Iterator<Item = Result<(String, ValueIter<'a>)>> + 'a>; |