sc_client_api

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.

Implementors§