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.

Required Methods§

source

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,

Get high-level view of the syncing status.

Implementations on Foreign Types§

source§

impl<T, Block> SyncStatusProvider<Block> for Arc<T>where T: SyncStatusProvider<Block> + ?Sized, Block: Block,

source§

fn status<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<SyncStatus<Block>, ()>> + Send + 'async_trait, Global>>where 'life0: 'async_trait, Arc<T>: 'async_trait,

Implementors§