Type Alias MultiArc

Source
pub type MultiArc<ItemType, const BUFFER_SIZE: usize, const MAX_STREAMS: usize, const INSTRUMENTS: usize = {Instruments::LogsWithMetrics.into()}> = MultiAtomicArc<ItemType, BUFFER_SIZE, MAX_STREAMS, INSTRUMENTS>;
Expand description

Default Multi for those who wants to use Arc as the wrapping type for payloads

Aliased Type§

pub struct MultiArc<ItemType, const BUFFER_SIZE: usize, const MAX_STREAMS: usize, const INSTRUMENTS: usize = {Instruments::LogsWithMetrics.into()}> {
    pub multi_name: String,
    pub channel: Arc<Atomic<'static, ItemType, BUFFER_SIZE, MAX_STREAMS>>,
    pub executor_infos: RwLock<IndexMap<String, ExecutorInfo>>,
    /* private fields */
}

Fields§

§multi_name: String§channel: Arc<Atomic<'static, ItemType, BUFFER_SIZE, MAX_STREAMS>>§executor_infos: RwLock<IndexMap<String, ExecutorInfo>>