MCPcopy Create free account

hub / github.com/bytecodealliance/wasmtime-go / types & classes

Types & classes58 in github.com/bytecodealliance/wasmtime-go

↓ 1 callersTypeAliasComponentItemKind
ComponentItemKind discriminates which sub-type a [ComponentItem] carries.
component_type_feat_component_model.go:116
↓ 1 callersTypeAliasComponentValTypeKind
ComponentValTypeKind discriminates the WIT type that a [ComponentValType] represents. Only constants for the 13 primitive kinds (bool through string)
component_valtype_feat_component_model.go:19
↓ 1 callersTypeAliasValKind
ValKind enumeration of different kinds of value types
valtype.go:8
InterfaceAsExtern
AsExtern is an interface for all types which can be imported or exported as an Extern
extern.go:15
InterfaceAsExternType
AsExternType is an interface for all types which can be ExternType.
externtype.go:14
StructCaller
Caller is provided to host-defined functions when they're invoked from WebAssembly. A `Caller` can be used for `Storelike` arguments to allow recursi
func.go:27
StructComponent
TODO: expose ComponentFuncType so callers can introspect a function's parameter and result types. TODO: expose ComponentInstanceType / ComponentResour
component_feat_component_model.go:26
StructComponentExportIndex
ComponentExportIndex is an opaque, precomputed handle pointing at a known export of a component. It has two main uses: - Caching: pass an index to [C
component_feat_component_model.go:188
StructComponentInstance
ComponentInstance is a value-type handle to an instantiated component living inside a [Store]. It is created by [ComponentLinker.Instantiate]. Instan
component_instance_feat_component_model.go:15
StructComponentItem
ComponentItem is one entry in a component's import or export list. The struct is a discriminated union: a `kind` tag plus a payload that depends on t
component_type_feat_component_model.go:135
StructComponentLinker
ComponentLinker is used to satisfy the imports of a [Component] and instantiate it. Use [NewComponentLinker] to create one.
component_linker_feat_component_model.go:10
StructComponentType
ComponentType describes the type of a [Component] — its lists of imports and exports. Walk the lists with [ComponentType.ImportNth] and [ComponentType
component_type_feat_component_model.go:26
StructComponentValType
ComponentValType describes the WIT type of a value in the component model. In this release [ComponentValType.Kind] returns one of the 13 primitive [C
component_valtype_feat_component_model.go:64
StructConfig
Config holds options used to create an Engine and customize its behavior.
config.go:46
StructEngine
Engine is an instance of a wasmtime engine which is used to create a `Store`. Engines are a form of global configuration for wasm compilations and mo
engine.go:13
StructError
error.go:7
StructExportType
ExportType is one of the exports component. A module defines a set of exports that become accessible to the host environment once the module has been
exporttype.go:9
StructExtern
Extern is an external value, which is the runtime representation of an entity that can be imported or exported. It is an address denoting either a fun
extern.go:10
StructExternType
ExternType means one of external types which classify imports and external values with their respective types.
externtype.go:8
StructFrame
Frame is one of activation frames which carry the return arity n of the respective function, hold the values of its locals (including arguments) in th
trap.go:22
StructFunc
Func is a function instance, which is the runtime representation of a function. It effectively is a closure of the original function over the runtime
func.go:17
StructFuncType
FuncType is one of function types which classify the signature of functions, mapping a vector of parameters to a vector of results. They are also used
functype.go:12
StructGcHit
reftypes_test.go:177
StructGlobal
Global is a global instance, which is the runtime representation of a global variable. It holds an individual value and a flag indicating whether it i
global.go:10
StructGlobalType
GlobalType is a ValType, which classify global variables and hold a value and can either be mutable or immutable.
globaltype.go:8
StructImportType
ImportType is one of the imports component A module defines a set of imports that are required for instantiation.
importtype.go:9
StructInstance
Instance is an instantiated module instance. Once a module has been instantiated as an Instance, any exported function can be invoked externally via i
instance.go:12
StructLinker
Linker implements a wasmtime Linking module, which can link instantiated modules together. More details you can see [examples for C](https://bytecodea
linker.go:14
StructMemory
Memory instance is the runtime representation of a linear memory. It holds a vector of bytes and an optional maximum size, if one was specified at the
memory.go:14
StructMemoryType
MemoryType is one of Memory types which classify linear memories and their size range. The limits constrain the minimum and optionally the maximum siz
memorytype.go:9
StructModule
Module is a module which collects definitions for types, functions, tables, memories, and globals. In addition, it can declare imports and exports and
module.go:15
StructObjToDrop
reftypes_test.go:181
TypeAliasOptLevel
OptLevel decides what degree of optimization wasmtime will perform on generated machine code
config.go:23
TypeAliasProfilingStrategy
ProfilingStrategy decides what sort of profiling to enable, if any.
config.go:36
StructStore
Store is a general group of wasm instances, and many objects must all be created with and reference the same `Store`
store.go:16
InterfaceStorelike
Storelike represents types that can be used to contextually reference a `Store`. This interface is implemented by `*Store` and `*Caller` and is perva
store.go:30
TypeAliasStrategy
Strategy is the compilation strategies for wasmtime
config.go:13
StructTable
Table is a table instance, which is the runtime representation of a table. It holds a vector of reference types and an optional maximum size, if one
table.go:15
StructTableType
TableType is one of table types which classify tables over elements of element types within a size range.
tabletype.go:8
StructTrap
Trap is the trap instruction which represents the occurrence of a trap. Traps are bubbled up through nested instruction sequences, ultimately reducing
trap.go:15
TypeAliasTrapCode
TrapCode is the code of an instruction trap.
trap.go:28
StructVal
Val is a primitive numeric value. Moreover, in the definition of programs, immutable sequences of values occur to represent more complex data, such as
val.go:12
StructValType
ValType means one of the value types, which classify the individual values that WebAssembly code can compute with and the values that a variable accep
valtype.go:45
StructWasiConfig
wasi.go:12
TypeAliasWasiDirPerms
wasi.go:154
TypeAliasWasiFilePerms
wasi.go:155
TypeAliasembeddedStoreData
store_test.go:105
StructexportTypeList
module.go:87
StructexternList
instance.go:58
StructframeList
trap.go:127
StructfuncNewEntry
store.go:60
StructfuncWrapEntry
store.go:65
TypeAliasi32alias
func_test.go:347
StructimportTypeList
module.go:67
StructsessionData
example_test.go:770
Structslab
slab.go:3
StructstoreData
State associated with a `Store`, currently used to propagate panic information through invocations as well as store Go closures that have been added t
store.go:50
StructtestStoreData
store_test.go:107