Crate golem_wasm_rpc

Source

Modules§

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
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§

CancellationTokenEntry
ComponentId
Represents a Golem component
DynPollable
The host representation of the wasi:io/poll.pollable resource.
FutureInvokeResultEntry
Uri
Uuid
UUID
ValueAndType
WasmRpcEntry
WitNodePointer
WitType
WitValue
WorkerId
Represents a Golem worker

Enums§

ResourceMode
RpcError
Value
A tree representation of Value - isomorphic to the protobuf Val type but easier to work with in Rust
WitNode
WitTypeNode

Traits§

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

Functions§

parse_type_annotated_value
parse_value_and_type
print_type_annotated_value
print_value_and_type

Type Aliases§

NodeIndex