pub trait Context {
// Required methods
fn config(&self) -> &Config;
fn router(&self) -> Arc<Router> ⓘ;
fn store(&self) -> Arc<Store> ⓘ;
}Required Methods§
fn config(&self) -> &Config
fn router(&self) -> Arc<Router> ⓘ
fn store(&self) -> Arc<Store> ⓘ
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".