Struct holochain_wasmer_host::prelude::Store [−][src]
pub struct Store { /* fields omitted */ }
Expand description
The store represents all global state that can be manipulated by WebAssembly programs. It consists of the runtime representation of all instances of functions, tables, memories, and globals that have been allocated during the lifetime of the abstract machine.
The Store
holds the engine (that is —amongst many things— used to compile
the Wasm bytes into a valid module artifact), in addition to the
Tunables
(that are used to create the memories, tables and globals).
Spec: https://webassembly.github.io/spec/core/exec/runtime.html#store
Implementations
Trait Implementations
Returns the size of the referenced value in bytes. Read more
Converts this object into an Any
to dynamically check its type.
Auto Trait Implementations
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V