Enum wiggle::wasmtime_crate::CallHook [−][src]
pub enum CallHook {
CallingWasm,
ReturningFromWasm,
CallingHost,
ReturningFromHost,
}
Expand description
Passed to the argument of Store::call_hook
to indicate a state transition in
the WebAssembly VM.
Variants
Indicates the VM is calling a WebAssembly function, from the host.
Indicates the VM is returning from a WebAssembly function, to the host.
Indicates the VM is calling a host function, from WebAssembly.
Indicates the VM is returning from a host function, to WebAssembly.
Implementations
Indicates the VM is entering host code (exiting WebAssembly code)
Indicates the VM is exiting host code (entering WebAssembly code)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CallHook
impl UnwindSafe for CallHook
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more