pub trait HasJars: HasJarsDyn + Sized {
    type Jars;

    fn jars(&self) -> (&Self::Jars, &Runtime);
    fn jars_mut(&mut self) -> (&mut Self::Jars, &mut Runtime);
    fn create_jars(routes: &mut Routes<Self>) -> Self::Jars;
}

Required Associated Types

Required Methods

Gets mutable access to the jars. This will trigger a new revision and it will also cancel any ongoing work in the current revision.

Implementors