Skip to main content

EventQueue

Type Alias EventQueue 

Source
pub(crate) type EventQueue = ArrayQueue<LookupRequest>;
Expand description

Bounded MPMC lock-free queue of lookup-observed events.

Producers (lookup hot path) push without blocking; on overflow the event is silently dropped (stats.events_dropped is bumped). The backend drains via pop on every loop iteration. Hotness signal is best-effort.

Aliased Type§

pub(crate) struct EventQueue { /* private fields */ }

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 384 bytes