sui_core::quorum_driver::reconfig_observer

Trait ReconfigObserver

Source
pub trait ReconfigObserver<A: Clone> {
    // Required methods
    fn run<'life0, 'async_trait>(
        &'life0 mut self,
        epoch_updatable: Arc<dyn AuthorityAggregatorUpdatable<A>>,
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn clone_boxed(&self) -> Box<dyn ReconfigObserver<A> + Send + Sync>;
}

Required Methods§

Source

fn run<'life0, 'async_trait>( &'life0 mut self, epoch_updatable: Arc<dyn AuthorityAggregatorUpdatable<A>>, ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn clone_boxed(&self) -> Box<dyn ReconfigObserver<A> + Send + Sync>

Implementors§