mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-10 10:52:49 +02:00
derive specific ReadOptions for iterators
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
aa6d0fcaa7
commit
65a370836c
8 changed files with 16 additions and 10 deletions
|
@ -15,6 +15,6 @@ where
|
|||
#[implement(super::Map)]
|
||||
#[tracing::instrument(skip(self), fields(%self), level = "trace")]
|
||||
pub fn raw_keys(&self) -> impl Stream<Item = Result<Key<'_>>> + Send {
|
||||
let opts = super::read_options_default();
|
||||
let opts = super::iter_options_default();
|
||||
stream::Keys::new(&self.db, &self.cf, opts).init(None)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue