Trait linera_views::store::KeyValueIterable
source · pub trait KeyValueIterable<Error> {
type Iterator<'a>: Iterator<Item = Result<(&'a [u8], &'a [u8]), Error>>
where Self: 'a;
type IteratorOwned: Iterator<Item = Result<(Vec<u8>, Vec<u8>), Error>>;
// Required methods
fn iterator(&self) -> Self::Iterator<'_>;
fn into_iterator_owned(self) -> Self::IteratorOwned;
}
Expand description
How to iterate over the key-value pairs returned by a search query.
Required Associated Types§
Required Methods§
sourcefn into_iterator_owned(self) -> Self::IteratorOwned
fn into_iterator_owned(self) -> Self::IteratorOwned
Iterates keys and values by value.
Object Safety§
This trait is not object safe.