Trait fuel_core::service::genesis::NotifyCancel
source · pub trait NotifyCancel {
// Required methods
fn wait_until_cancelled<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn is_cancelled(&self) -> bool;
}