Expand description
Defines the Store data type and various useful traits and data types to interact with a
store.
Re-exportsยง
Modulesยง
- async_ ๐
- Defines the
AsStoreAsynctrait and its supporting types. - context ๐
- Defines the
StoreContexttype. Thread-local storage for storing the current store context, i.e. the currently activeStore(s). When a function is called, a pointer to theStoreInnerin placed inside the store context so it can be retrieved when needed. This lets code that needs access to the store get it with just the store ID. - inner ๐
- Defines the
StoreInnerdata type. - local_
rwlock ๐ - Single-threaded async-aware RwLock. A single-threaded async-aware RwLock implementation.
- obj ๐
- store_
ref ๐ - Create temporary handles to engines.
Structsยง
- Store
- 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.