Trait salsa_2022::storage::HasJars
source · [−]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
fn jars(&self) -> (&Self::Jars, &Runtime)
sourcefn jars_mut(&mut self) -> (&mut Self::Jars, &mut Runtime)
fn jars_mut(&mut self) -> (&mut Self::Jars, &mut Runtime)
Gets mutable access to the jars. This will trigger a new revision and it will also cancel any ongoing work in the current revision.