Type Alias multi_validator_combined::types::Network
source · pub type Network = CombinedNetworks<TestTypes>;
Expand description
Convenience type alias
Aliased Type§
struct Network {
networks: Arc<UnderlyingCombinedNetworks<TestTypes>>,
message_cache: Arc<RwLock<RawRwLock, LruCache<u64, ()>>>,
primary_fail_counter: Arc<AtomicU64>,
primary_down: Arc<AtomicBool>,
delay_duration: Arc<RwLock<Duration>>,
delayed_tasks_channels: Arc<RwLock<BTreeMap<u64, (Sender<()>, InactiveReceiver<()>)>>>,
no_delay_counter: Arc<AtomicU64>,
}
Fields§
§networks: Arc<UnderlyingCombinedNetworks<TestTypes>>
§message_cache: Arc<RwLock<RawRwLock, LruCache<u64, ()>>>
§primary_fail_counter: Arc<AtomicU64>
§primary_down: Arc<AtomicBool>
§delay_duration: Arc<RwLock<Duration>>
§delayed_tasks_channels: Arc<RwLock<BTreeMap<u64, (Sender<()>, InactiveReceiver<()>)>>>
§no_delay_counter: Arc<AtomicU64>