[−][src]Struct wasmer_vm::VMDynamicFunctionContext
The VMDynamicFunctionContext
is the context that dynamic
functions will receive when called (rather than vmctx
).
A dynamic function is a function for which we don't know the signature
until runtime.
As such, we need to expose the dynamic function context
containing the relevant context for running the function indicated
in address
.
Fields
address: *const VMFunctionBody
The address of the inner dynamic function.
Note: The function must be on the form of
(*mut T, SignatureIndex, *mut i128)
.
ctx: T
The context that the inner dynamic function will receive.
Auto Trait Implementations
impl<T> RefUnwindSafe for VMDynamicFunctionContext<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> !Send for VMDynamicFunctionContext<T>
impl<T> !Sync for VMDynamicFunctionContext<T>
impl<T> Unpin for VMDynamicFunctionContext<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for VMDynamicFunctionContext<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,