Crate golem_wasm

Crate golem_wasm 

Source

Modules§

analysis
bincode
Implements bincode encoders and decoders for WitValue instances
golem_rpc_0_2_x
json
Conversion to and from JSON, in the presence of golem-wasm-ast generated type information
metadata
The metadata module defines data structures for representing various metadata extracted from WASM binaries.
poem
Poem OpenAPI integration for some types
protobuf
Protobuf-defined value types and conversion to them
serde
Serde instances for WitValue
wasi
wasmtime
Conversion to/from wasmtime’s value representation

Structs§

AgentId
Represents a Golem agent
CancellationTokenEntry
ComponentId
Represents a Golem component
DynPollable
The host representation of the wasi:io/poll.pollable resource.
FutureInvokeResultEntry
Record
Helper for dynamically creating record ValueAndType values with String keys
Uri
URI value
Uuid
UUID
ValueAndType
WasmRpcEntry
WitNodePointer
WitType
Describes a type of a wit-value
WitValue
Describes an arbitrary value

Enums§

ResourceMode
Resource handle modes
RpcError
Possible failures of an RPC call
Value
A tree representation of Value - isomorphic to the protobuf Val type but easier to work with in Rust
WitNode
One node of a wit-value
WitTypeNode
Represents a type within a wit-type definition. node-index values are indices into the parent wit-type’s nodes list.

Traits§

Host
HostWasmRpc
IntoValue
Specific trait to convert a type into a pair of Value and AnalysedType.
IntoValueAndType
NodeBuilder
SubscribeAny
WitValueBuilderExtensions
WitValueExtractor

Functions§

parse_value_and_type
print_value_and_type

Type Aliases§

NodeIndex
The index type used in wit-value and wit-type to identify nodes