Trait sc_network::NetworkStatusProvider
source · pub trait NetworkStatusProvider<Block>where
Block: Block,{
// Required method
fn status<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<NetworkStatus<Block>, ()>> + Send + 'async_trait, Global>>
where 'life0: 'async_trait,
Self: 'async_trait;
}
Expand description
Provides high-level status information about network.