pub type SharedCommConfig = Arc<ArcSwap<CommonConfigSnapshot>>;Expand description
一个 ArcSwap 缓存槽——Bridge 持有,重连/后台刷新器共享。
load() 无锁读,store(Arc::new(new)) 原子替换。
Aliased Type§
pub struct SharedCommConfig { /* private fields */ }pub type SharedCommConfig = Arc<ArcSwap<CommonConfigSnapshot>>;一个 ArcSwap 缓存槽——Bridge 持有,重连/后台刷新器共享。
load() 无锁读,store(Arc::new(new)) 原子替换。
pub struct SharedCommConfig { /* private fields */ }