pub enum Pin {
Never,
Eager,
At(Tier),
}Expand description
A per-opt tier override (HOTSWAP §8 ## Tier <kw> <eager|t1|t2|t3|never>).
Variants§
Never
Allowed by config but pinned off the tiering ladder — never run by tiering
(distinct from ## No <opt>, which forbids it and cascades through normalize).
Eager
Run as soon as the unit is optimized at all (any tier ≥ T1), ignoring cost.
At(Tier)
Run once this tier is reached.
Trait Implementations§
impl Copy for Pin
impl Eq for Pin
impl StructuralPartialEq for Pin
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnsafeUnpin for Pin
impl UnwindSafe for Pin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more