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
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue