Skip to main content

auric_runtime/
context.rs

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