1use crate::*; 2 3pub type AsyncArcRwLock<T> = Arc<RwLock<T>>; 4 5#[derive(Clone, Lombok)] 6pub struct Server { 7 pub(super) cfg: ArcRwLock<ServerConfig>, 8 pub(super) func_list: FuncListArcLock, 9 pub(super) tmp: ArcRwLock<Tmp>, 10}