pub enum RunPhase {
Active,
Frozen,
}Expand description
A Run’s phase as the hot view sees it. Freezing is terminal here: the ledger may keep appending to a frozen Run’s history, but the phase never travels backwards.
Variants§
Trait Implementations§
impl Copy for RunPhase
Source§impl<'de> Deserialize<'de> for RunPhase
impl<'de> Deserialize<'de> for RunPhase
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 RunPhase
impl StructuralPartialEq for RunPhase
Auto Trait Implementations§
impl Freeze for RunPhase
impl RefUnwindSafe for RunPhase
impl Send for RunPhase
impl Sync for RunPhase
impl Unpin for RunPhase
impl UnsafeUnpin for RunPhase
impl UnwindSafe for RunPhase
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