Skip to main content

STATIC_WIRE_ID_LIMIT

Constant STATIC_WIRE_ID_LIMIT 

pub const STATIC_WIRE_ID_LIMIT: u16 = 256; // 256u16
Available on crate feature dial9 only.
Expand description

Slots 1..STATIC_WIRE_ID_LIMIT double as wire IDs and take the inline fast path in the encoder. Only #[traceevent(wire_slot)] types claim a slot, so this bounds how many event types share the fast range, dynamic registration starts here.