pub enum CalcOutcome {
Succeeded,
Failed {
message: String,
},
Blocked {
message: String,
},
Cancelled,
BudgetExhausted {
message: String,
continuation: Option<u64>,
},
}Expand description
Terminal outcome recorded for one cell attempt.
Variants§
Succeeded
A current value committed.
Failed
A deterministic calculation failure committed.
Blocked
Policy prevented the requested cell from running.
Cancelled
The request was cancelled without corrupting an earlier memo.
BudgetExhausted
A bounded request stopped and retained an explicit continuation.
Trait Implementations§
Source§impl Clone for CalcOutcome
impl Clone for CalcOutcome
Source§fn clone(&self) -> CalcOutcome
fn clone(&self) -> CalcOutcome
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 moreSource§impl Debug for CalcOutcome
impl Debug for CalcOutcome
impl Eq for CalcOutcome
Source§impl PartialEq for CalcOutcome
impl PartialEq for CalcOutcome
impl StructuralPartialEq for CalcOutcome
Auto Trait Implementations§
impl Freeze for CalcOutcome
impl RefUnwindSafe for CalcOutcome
impl Send for CalcOutcome
impl Sync for CalcOutcome
impl Unpin for CalcOutcome
impl UnsafeUnpin for CalcOutcome
impl UnwindSafe for CalcOutcome
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