AsJob

Trait AsJob 

Source
pub trait AsJob {
    // Required method
    fn as_job<'a>(self: Arc<Self>) -> Arc<dyn Job + 'a>
       where Self: 'a;
}

Required Methods§

Source

fn as_job<'a>(self: Arc<Self>) -> Arc<dyn Job + 'a>
where Self: 'a,

Implementors§

Source§

impl<T: Job + Sized> AsJob for T