rpc_toolkit/
context.rs

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