#[non_exhaustive]pub enum StepResult {
Idle,
Settled(Outcome),
Unsettled,
}Expand description
The terminal result of one lifecycle step.
#[non_exhaustive]: this advanced-tier protocol may gain results, so a
consumer’s match must carry a wildcard arm.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Idle
No pact was available to claim.
Settled(Outcome)
The claim was settled with this outcome.
Unsettled
Execution produced no outcome (an infrastructure failure), so nothing was
settled. The claim is left held-but-unsettled to lapse and be reclaimed;
the kernel fabricates no Outcome from the absence of one.
Trait Implementations§
Source§impl Clone for StepResult
impl Clone for StepResult
Source§fn clone(&self) -> StepResult
fn clone(&self) -> StepResult
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 StepResult
Source§impl Debug for StepResult
impl Debug for StepResult
impl Eq for StepResult
Source§impl PartialEq for StepResult
impl PartialEq for StepResult
impl StructuralPartialEq for StepResult
Auto Trait Implementations§
impl Freeze for StepResult
impl RefUnwindSafe for StepResult
impl Send for StepResult
impl Sync for StepResult
impl Unpin for StepResult
impl UnsafeUnpin for StepResult
impl UnwindSafe for StepResult
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