pub enum State {
Initial,
AssertionFalse,
AssertionTrue,
Conjunctive {
last_assertion: bool,
conjunction: Conjunction,
},
Failed,
}Variants§
Initial
The initial interpreter state
AssertionFalse
The last assertion evaluated as false
AssertionTrue
The last assertion evaluated as true
Conjunctive
The last assertion was followed by a conjunction. The interpreter is awaiting the next OpCode as the RHS.
Failed
The contract invariants were not maintained it has failed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for State
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
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