Skip to main content

UsageProvider

Trait UsageProvider 

Source
pub trait UsageProvider<Block: Block> {
    // Required method
    fn usage_info(&self) -> ClientInfo<Block>;
}
Expand description

Usage Information Provider interface

Required Methods§

Source

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".

Implementors§