derive specific ReadOptions for iterators

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-12-08 03:02:28 +00:00
parent aa6d0fcaa7
commit 65a370836c
8 changed files with 16 additions and 10 deletions

View file

@ -23,6 +23,6 @@ where
#[implement(super::Map)]
#[tracing::instrument(skip(self), fields(%self), level = "trace")]
pub fn rev_raw_stream(&self) -> impl Stream<Item = Result<KeyVal<'_>>> + Send {
let opts = super::read_options_default();
let opts = super::iter_options_default();
stream::ItemsRev::new(&self.db, &self.cf, opts).init(None)
}