pub enum StepStatus {
Pending,
Done,
Stale,
Failed,
}Expand description
Derived status of a registered step against ResumeState.
Variants§
Pending
No matching record (or only superseded entries).
Done
Last record is ok and step_version is current or newer than the binary’s.
Stale
Last record is ok but recorded version is older than the binary’s.
Failed
Last record has ok: false.
Trait Implementations§
Source§impl Clone for StepStatus
impl Clone for StepStatus
Source§fn clone(&self) -> StepStatus
fn clone(&self) -> StepStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StepStatus
Source§impl Debug for StepStatus
impl Debug for StepStatus
impl Eq for StepStatus
Source§impl PartialEq for StepStatus
impl PartialEq for StepStatus
Source§fn eq(&self, other: &StepStatus) -> bool
fn eq(&self, other: &StepStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StepStatus
Auto Trait Implementations§
impl Freeze for StepStatus
impl RefUnwindSafe for StepStatus
impl Send for StepStatus
impl Sync for StepStatus
impl Unpin for StepStatus
impl UnsafeUnpin for StepStatus
impl UnwindSafe for StepStatus
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