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