aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-02 22:05:57 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-02 22:05:57 +0200
commit364061453cd0a5a2e4f76f4194e6b5887aae7ed8 (patch)
treece41a26b5319b00d8b98b11a46f998c8febb115d /src
parent43704afb291e955c043686dde6b801d4d1339231 (diff)
downloadgarage-364061453cd0a5a2e4f76f4194e6b5887aae7ed8.tar.gz
garage-364061453cd0a5a2e4f76f4194e6b5887aae7ed8.zip
Add back Send
Diffstat (limited to 'src')
-rw-r--r--src/db/lib.rs2
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>;