mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 05:06:53 +00:00
derive specific ReadOptions for iterators
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
aa6d0fcaa7
commit
65a370836c
8 files changed
+16
-10
No files matched your search
@@ -15,6 +15,6 @@ where
|
||||
#[implement(super::Map)]
|
||||
#[tracing::instrument(skip(self), fields(%self), level = "trace")]
|
||||
pub fn rev_raw_keys(&self) -> impl Stream<Item = Result<Key<'_>>> + Send {
|
||||
let opts = super::read_options_default();
|
||||
let opts = super::iter_options_default();
|
||||
stream::KeysRev::new(&self.db, &self.cf, opts).init(None)
|
||||
}
|
||||
Reference in new issue
Block a user