const RESERVED_VARIANTS: usize = 3;
Expand description

Number of variants to reserve in generator state. Corresponds to UNRESUMED (beginning of a generator) and RETURNED/POISONED (end of a generator) states.