pub trait RuntimeApiEntryInfo {
// Required method
fn runtime_api_entries(&self) -> impl Iterator<Item = RuntimeApiEntry<'_>>;
// Provided methods
fn runtime_api_tuples(
&self,
) -> impl Iterator<Item = (Cow<'_, str>, Cow<'_, str>)> { ... }
fn runtime_apis_in_trait(
&self,
pallet: &str,
) -> impl Iterator<Item = Cow<'_, str>> { ... }
}Expand description
This can be implemented for anything capable of providing information about the available Runtime Apis
Required Methods§
Sourcefn runtime_api_entries(&self) -> impl Iterator<Item = RuntimeApiEntry<'_>>
fn runtime_api_entries(&self) -> impl Iterator<Item = RuntimeApiEntry<'_>>
Iterate over all of the available Runtime Apis, 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.