pub trait StorageEntryInfo {
// Required method
fn storage_entries(&self) -> impl Iterator<Item = StorageEntry<'_>>;
// Provided methods
fn storage_tuples(
&self,
) -> impl Iterator<Item = (Cow<'_, str>, Cow<'_, str>)> { ... }
fn storage_in_pallet(
&self,
pallet: &str,
) -> impl Iterator<Item = Cow<'_, str>> { ... }
}Expand description
This can be implemented for anything capable of providing information about the available Storage Entries
Required Methods§
Sourcefn storage_entries(&self) -> impl Iterator<Item = StorageEntry<'_>>
fn storage_entries(&self) -> impl Iterator<Item = StorageEntry<'_>>
Iterate over all of the available Storage Entries, returning Entry as we go.
Provided Methods§
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.