Skip to main content

MAX_EVENTS

Constant MAX_EVENTS 

Source
pub const MAX_EVENTS: usize = 8;
Expand description

Default per-operation event capacity.

A step produces a few events at most (loss and acquisition, one or two rejections). Operations that can produce more (sweeping a traffic picture) return an EventList sized to their maximum, so nothing is lost by construction; overflow is still reported via EventList::overflowed.