pub enum Freshness {
NeverCalculated,
Fresh,
MaybeStale,
Pending,
Failed,
Frozen,
Blocked,
}Expand description
Every non-evaluating expression-tree freshness state.
Variants§
NeverCalculated
No calculation has committed.
Fresh
The current result is verified.
MaybeStale
An observation changed and verification is pending.
Pending
Automatic calculation is queued.
Failed
The latest calculation failed.
Frozen
Effective policy freezes calculation.
Blocked
Policy or authority blocked calculation.
Trait Implementations§
impl Copy for Freshness
impl Eq for Freshness
Source§impl From<CalcStatus> for Freshness
impl From<CalcStatus> for Freshness
Source§fn from(status: CalcStatus) -> Self
fn from(status: CalcStatus) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Freshness
Auto Trait Implementations§
impl Freeze for Freshness
impl RefUnwindSafe for Freshness
impl Send for Freshness
impl Sync for Freshness
impl Unpin for Freshness
impl UnsafeUnpin for Freshness
impl UnwindSafe for Freshness
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