pub trait HashedStorageCursor: HashedCursor {
// Required method
fn is_storage_empty(&mut self) -> Result<bool, DatabaseError>;
}
Expand description
The cursor for iterating over hashed storage entries.
Required Methods§
Sourcefn is_storage_empty(&mut self) -> Result<bool, DatabaseError>
fn is_storage_empty(&mut self) -> Result<bool, DatabaseError>
Returns true
if there are no entries for a given key.