diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-02 22:05:57 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-02 22:05:57 +0200 |
commit | 364061453cd0a5a2e4f76f4194e6b5887aae7ed8 (patch) | |
tree | ce41a26b5319b00d8b98b11a46f998c8febb115d | |
parent | 43704afb291e955c043686dde6b801d4d1339231 (diff) | |
download | garage-364061453cd0a5a2e4f76f4194e6b5887aae7ed8.tar.gz garage-364061453cd0a5a2e4f76f4194e6b5887aae7ed8.zip |
Add back Send
-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>; |