pub trait MutJob {
// Required method
fn run_once_mut<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Use this if you never plan on trying to use the same instance of this job multiple times concurrently.