pub trait ResetProvider {
// Required methods
fn block_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = BlockInfo> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn system_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SystemConfig> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Provides the BlockInfo and SystemConfig for the stack to reset the stages.
Required Methods§
Sourcefn block_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = BlockInfo> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn block_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = BlockInfo> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the current BlockInfo for the pipeline to reset.
Sourcefn system_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SystemConfig> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn system_config<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = SystemConfig> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the current SystemConfig for the pipeline to reset.