pub enum Life {
Live,
Superseded,
Withdrawn,
}Expand description
Lifecycle of a unit’s root.
Operator intent drifts (“do Y instead”), and tracking that per-unit is intractable; tracking it at the ROOT is not, and everything downstream inherits it.
Variants§
Live
The root still stands. Nothing downstream is freely evictable.
Superseded
The operator replaced this intent (“do Y instead”).
Withdrawn
The operator retracted this intent outright.
Trait Implementations§
impl Copy for Life
Source§impl<'de> Deserialize<'de> for Life
impl<'de> Deserialize<'de> for Life
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Life
Source§impl Ord for Life
impl Ord for Life
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Life
impl PartialOrd for Life
impl StructuralPartialEq for Life
Auto Trait Implementations§
impl Freeze for Life
impl RefUnwindSafe for Life
impl Send for Life
impl Sync for Life
impl Unpin for Life
impl UnsafeUnpin for Life
impl UnwindSafe for Life
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