clockwork_cron/ordinal.rs
1use std::collections::BTreeSet;
2
3pub type Ordinal = u32;
4// TODO: Make OrdinalSet an enum.
5// It should either be a BTreeSet of ordinals or an `All` option to save space.
6// `All` can iterate from inclusive_min to inclusive_max and answer membership
7// queries
8pub type OrdinalSet = BTreeSet<Ordinal>;