pub trait UsageProvider<Block: Block> {
// Required method
fn usage_info(&self) -> ClientInfo<Block>;
}Expand description
Usage Information Provider interface
Required Methods§
Sourcefn usage_info(&self) -> ClientInfo<Block>
fn usage_info(&self) -> ClientInfo<Block>
Get usage info about current client.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".