1 2 3 4 5 6 7 8 9 10 11 12 13 14
use alloc::sync::Arc; use tokio::runtime::Runtime; #[derive(Clone)] pub struct HermesRuntime { pub runtime: Arc<Runtime>, } impl HermesRuntime { pub fn new(runtime: Arc<Runtime>) -> Self { Self { runtime } } }