pub type BoxedLayerIterator<'iter, K, V> = Box<dyn LayerIterator<K, V> + 'iter>;
Aliased Type§
struct BoxedLayerIterator<'iter, K, V>(/* private fields */);
Trait Implementations§
Source§impl<'iter, K, V> LayerIterator<K, V> for BoxedLayerIterator<'iter, K, V>
impl<'iter, K, V> LayerIterator<K, V> for BoxedLayerIterator<'iter, K, V>
Source§fn advance<'a, 'b>(
&'a mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'b>>where
Self: 'b,
'a: 'b,
fn advance<'a, 'b>(
&'a mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'b>>where
Self: 'b,
'a: 'b,
Advances the iterator.
Source§fn get(&self) -> Option<ItemRef<'_, K, V>>
fn get(&self) -> Option<ItemRef<'_, K, V>>
Returns the current item. This will be None if called when the iterator is first crated i.e.
before either seek or advance has been called, and None if the iterator has reached the end
of the layer.