pub enum AssumptionOutcome {
AllTrue,
False {
def: DefId,
property: String,
message: String,
},
Error {
def: DefId,
error: EvalError,
message: String,
},
}Expand description
The outcome of checking the assumptions, as TLC’s
Tool.checkAssumptions reports it.
Variants§
AllTrue
Every assumption is TRUE.
False
An assumption is FALSE: TLC’s TLC_ASSUMPTION_FALSE (2104).
Fields
Error
Evaluating an assumption failed: TLC’s
TLC_ASSUMPTION_EVALUATION_ERROR (2105), or a refusal or resource
limit.
Trait Implementations§
Source§impl Clone for AssumptionOutcome
impl Clone for AssumptionOutcome
Auto Trait Implementations§
impl Forget for AssumptionOutcome
impl Freeze for AssumptionOutcome
impl Move for AssumptionOutcome
impl RefUnwindSafe for AssumptionOutcome
impl Send for AssumptionOutcome
impl Sync for AssumptionOutcome
impl Unpin for AssumptionOutcome
impl UnsafeUnpin for AssumptionOutcome
impl UnwindSafe for AssumptionOutcome
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