pub enum CalcError {
NotCalculated {
path: String,
},
Cell(CellFailure),
Incremental(IncrementalError<CalcQuery>),
UnknownAutomaticContinuation {
generation: u64,
},
CorruptAutomaticQueue {
cell: String,
},
}Expand description
A current-result error. Last-good data is available separately.
Variants§
NotCalculated
No result has committed since the source last changed.
Cell(CellFailure)
A deterministic cell failure was committed as the current memo.
Incremental(IncrementalError<CalcQuery>)
Verification stopped before a current memo could commit.
UnknownAutomaticContinuation
An automatic continuation did not match the current restored queue.
CorruptAutomaticQueue
A persisted automatic queue snapshot was structurally invalid.
Trait Implementations§
impl Eq for CalcError
Source§impl Error for CalcError
impl Error for CalcError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for CalcError
Auto Trait Implementations§
impl Freeze for CalcError
impl RefUnwindSafe for CalcError
impl Send for CalcError
impl Sync for CalcError
impl Unpin for CalcError
impl UnsafeUnpin for CalcError
impl UnwindSafe for CalcError
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