1 2 3 4 5 6 7 8
use crate::Config; use crate::data::Store; use std::sync::Arc; pub trait Context { fn config(&self) -> &Config; fn store(&self) -> Arc<Store>; }