pub trait StorageIterator {
type KeyType<'a>: PartialEq + Eq + PartialOrd + Ord
where Self: 'a;
// Required methods
fn value(&self) -> &[u8] ⓘ;
fn key(&self) -> Self::KeyType<'_>;
fn is_valid(&self) -> bool;
fn next(&mut self) -> Result<()>;
// Provided method
fn num_active_iterators(&self) -> usize { ... }
}Required Associated Types§
Required Methods§
Provided Methods§
Sourcefn num_active_iterators(&self) -> usize
fn num_active_iterators(&self) -> usize
Number of underlying active iterators for this iterator.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.