Trait fuel_core_storage::iter::IterableStore

source ·
pub trait IterableStore: KeyValueInspect {
    // Required method
    fn iter_store(
        &self,
        column: Self::Column,
        prefix: Option<&[u8]>,
        start: Option<&[u8]>,
        direction: IterDirection,
    ) -> BoxedIter<'_, KVItem> ;
}
Expand description

A trait for iterating over the storage of KeyValueInspect.

Required Methods§

source

fn iter_store( &self, column: Self::Column, prefix: Option<&[u8]>, start: Option<&[u8]>, direction: IterDirection, ) -> BoxedIter<'_, KVItem>

Returns an iterator over the values in the storage.

Implementations on Foreign Types§

source§

impl<T: IterableStore> IterableStore for &T

source§

fn iter_store( &self, column: Self::Column, prefix: Option<&[u8]>, start: Option<&[u8]>, direction: IterDirection, ) -> BoxedIter<'_, KVItem>

source§

impl<T: IterableStore> IterableStore for &mut T

source§

fn iter_store( &self, column: Self::Column, prefix: Option<&[u8]>, start: Option<&[u8]>, direction: IterDirection, ) -> BoxedIter<'_, KVItem>

source§

impl<T: IterableStore> IterableStore for Box<T>

source§

fn iter_store( &self, column: Self::Column, prefix: Option<&[u8]>, start: Option<&[u8]>, direction: IterDirection, ) -> BoxedIter<'_, KVItem>

source§

impl<T: IterableStore> IterableStore for Arc<T>

source§

fn iter_store( &self, column: Self::Column, prefix: Option<&[u8]>, start: Option<&[u8]>, direction: IterDirection, ) -> BoxedIter<'_, KVItem>

Implementors§