pub enum CallDispatch {
Return(Value),
Invoke {
code: CodeHandle,
closure: Value,
args: Vec<Value>,
return_policy: ReturnPolicy,
},
}Expand description
Dispatch result: builtins resolve immediately, code invocations bounce back through the execution adapter (real function pointer natively, a simulated PC in wasm).
Variants§
Trait Implementations§
Source§impl Clone for CallDispatch
impl Clone for CallDispatch
Source§fn clone(&self) -> CallDispatch
fn clone(&self) -> CallDispatch
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 moreAuto Trait Implementations§
impl Freeze for CallDispatch
impl RefUnwindSafe for CallDispatch
impl Send for CallDispatch
impl Sync for CallDispatch
impl Unpin for CallDispatch
impl UnsafeUnpin for CallDispatch
impl UnwindSafe for CallDispatch
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