pub enum Stop {
Returned(Option<Value>),
NeedsStub {
callee: Callee,
need: Need,
},
Fault {
address: u64,
write: bool,
kind: FaultKind,
},
Trap(Trap),
Undetermined,
Escape(Escape),
Unreachable,
OutOfSteps,
Cancelled,
Malformed,
}Expand description
How a run ended.
Variants§
Returned(Option<Value>)
It returned, with the value (L2’s; the machine’s: None, its
registers in Instructions::registers).
NeedsStub
A call needs a stub.
Fault
An access faulted.
Trap(Trap)
A trap (binbun_trap, a machine check).
Undetermined
A decision, address or target depended on undefined bits.
Escape(Escape)
C cannot say what comes next (Escape).
Unreachable
An unreachable was reached, or an exception propagated.
OutOfSteps
Options::steps were taken.
Cancelled
It was cancelled.
Malformed
The code is malformed (does not decode, does not verify).
Implementations§
Trait Implementations§
impl Eq for Stop
impl StructuralPartialEq for Stop
Auto Trait Implementations§
impl Forget for Stop
impl Freeze for Stop
impl Move for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnsafeUnpin for Stop
impl UnwindSafe for Stop
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