pub trait NetworkStatusProvider<Block: BlockT> {
    fn status<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<NetworkStatus<Block>, ()>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; }
Expand description

Provides high-level status information about network.

Required Methods§

High-level network status information.

Returns an error if the NetworkWorker is no longer running.

Implementations on Foreign Types§

Implementors§