Skip to main content

StatusSet

Type Alias StatusSet 

Source
pub type StatusSet = BTreeSet<u16>;
Expand description

The backing store for RetryRules::retry_on_status, tier-selected at build time: a heap BTreeSet when an allocator is present, a sorted const-cap heapless::Vec when not. Both expose insert / contains / extend over u16, so a caller never sees which tier it got.

Aliased Type§

pub struct StatusSet { /* private fields */ }