/// Access job context. Will panic if context with this type has not been provided.
Access job context. Will panic if context with this type has not been provided.
Access job context . Will panic if context with this type has not been provided .
pub fn context<C: Clone + Send + Sync + 'static>(&self) -> C {
        if let Some(c) = self.context.get::<C>() {
            c.clone()
        } else {
            panic!(
                "No context of type `{}` has been provided.",
                type_name::<C>()
            );
        }
    }
pub fn context < C : Clone + Send + Sync + ' static > ( & self ) -> C { if let Some ( c ) = self . context . get :: < C > ( ) { c . clone ( ) } else { panic ! ( " " type_name C ( ) ) ; } }
Access job context.
Access job context .
&self