pub trait Job:
AsJob
+ Send
+ Sync {
// Required method
fn run_once<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided method
fn name(&self) -> String { ... }
}