1 2 3 4 5
use std::sync::{Arc, Mutex}; use crate::FullNodeSimulator; pub type SharedSimulator = Arc<Mutex<FullNodeSimulator>>;