1 2 3 4 5 6 7 8 9
use std::sync::Arc; use tokio::runtime::Runtime; pub trait Context: Send + Sync + 'static { fn runtime(&self) -> Option<Arc<Runtime>> { None } }