pub enum DoneReason<T> {
Trap {
pc: NonNull<u8>,
kind: Option<TrapKind>,
},
CallIndirectHost {
id: u8,
resume: NonNull<u8>,
},
ReturnToHost(T),
}Available on crate feature
interp only.Expand description
Reason that the pulley interpreter has ceased execution.
Variants§
Trap
A trap happened at this bytecode instruction.
Fields
CallIndirectHost
The call_indirect_host instruction was executed.
Fields
ReturnToHost(T)
Pulley has finished and the provided value is being returned.