Struct wasmer_vm::vmcontext::VMCallerCheckedAnyfunc
source · #[repr(C)]pub struct VMCallerCheckedAnyfunc {
pub func_ptr: *const VMFunctionBody,
pub type_index: VMSharedSignatureIndex,
pub vmctx: VMFunctionContext,
pub call_trampoline: VMTrampoline,
}
Expand description
The VM caller-checked “anyfunc” record, for caller-side signature checking. It consists of the actual function pointer and a signature id to be checked by the caller.
Fields§
§func_ptr: *const VMFunctionBody
Function body.
type_index: VMSharedSignatureIndex
Function signature id.
vmctx: VMFunctionContext
Function VMContext
or host env.
call_trampoline: VMTrampoline
Address of the function call trampoline to invoke this function using a dynamic argument list.
Trait Implementations§
source§impl Clone for VMCallerCheckedAnyfunc
impl Clone for VMCallerCheckedAnyfunc
source§fn clone(&self) -> VMCallerCheckedAnyfunc
fn clone(&self) -> VMCallerCheckedAnyfunc
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VMCallerCheckedAnyfunc
impl Debug for VMCallerCheckedAnyfunc
source§impl Hash for VMCallerCheckedAnyfunc
impl Hash for VMCallerCheckedAnyfunc
source§impl PartialEq for VMCallerCheckedAnyfunc
impl PartialEq for VMCallerCheckedAnyfunc
source§fn eq(&self, other: &VMCallerCheckedAnyfunc) -> bool
fn eq(&self, other: &VMCallerCheckedAnyfunc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VMCallerCheckedAnyfunc
impl Eq for VMCallerCheckedAnyfunc
impl StructuralPartialEq for VMCallerCheckedAnyfunc
Auto Trait Implementations§
impl Freeze for VMCallerCheckedAnyfunc
impl RefUnwindSafe for VMCallerCheckedAnyfunc
impl !Send for VMCallerCheckedAnyfunc
impl !Sync for VMCallerCheckedAnyfunc
impl Unpin for VMCallerCheckedAnyfunc
impl UnwindSafe for VMCallerCheckedAnyfunc
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.