2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +00:00
This commit is contained in:
asonix 2023-07-18 21:59:27 -05:00
parent 3d93300ba9
commit fc14ac2038

View file

@ -169,9 +169,11 @@ impl FullRepo for SledRepo {
}
}
type IterValue = Option<(sled::Iter, Result<sled::IVec, RepoError>)>;
pub(crate) struct IterStream {
iter: Option<sled::Iter>,
next: Option<JoinHandle<Option<(sled::Iter, Result<sled::IVec, RepoError>)>>>,
next: Option<JoinHandle<IterValue>>,
}
impl futures_util::Stream for IterStream {