pub enum ExitReason {
Continue {
pc: u32,
},
Effect {
pc: u32,
},
Return {
return_reg: u8,
},
Budget {
pc: u32,
},
Trap {
pc: u32,
},
Deopt {
pc: u32,
},
}Available on crate feature
jit only.Expand description
Why a compiled trace stopped.
Variants§
Continue
Keep executing natively at pc.
Effect
Delegate to the interpreter / scheduler at pc (Send, Ask, …).
Return
Outermost Return — value lives in return_reg.
Budget
Instruction quantum exhausted mid-trace.
Trap
Semantic fault (divide-by-zero, explicit trap, …).
Deopt
Type guard failed — resume in the interpreter.
Trait Implementations§
Source§impl Clone for ExitReason
impl Clone for ExitReason
Source§fn clone(&self) -> ExitReason
fn clone(&self) -> ExitReason
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 moreimpl Copy for ExitReason
Source§impl Debug for ExitReason
impl Debug for ExitReason
impl Eq for ExitReason
Source§impl PartialEq for ExitReason
impl PartialEq for ExitReason
impl StructuralPartialEq for ExitReason
Auto Trait Implementations§
impl Freeze for ExitReason
impl RefUnwindSafe for ExitReason
impl Send for ExitReason
impl Sync for ExitReason
impl Unpin for ExitReason
impl UnsafeUnpin for ExitReason
impl UnwindSafe for ExitReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.