Module io

Source

Modules§

call_value_init

Structs§

ApiOutputAdapter
ArgDecodeInput
Adapter from the API to the TopDecodeInput trait. Allows objects to be deserialized directly from the API as arguments.
ArgErrorHandler
ArgId
Some info to display in endpoint argument deserialization error messages, to help users identify the faulty argument. Generated automatically. Current version uses argument names, but in principle it could be changed to argument index to save some bytes from the wasm output.
BytesArgLoader
Consumes a vector of BoxedBytes and deserializes from the vector one by one.

Traits§

ArgNestedTuple
Models an argument tree of the form (arg1, (arg2, ... (argn, ()))), used for retrieving endpoint arguments.

Functions§

finish_multi
load_callback_closure_args
load_endpoint_args
Used for loading all regular endpoint arguments. A call to this gets generated for all endpoints and callbacks.
load_multi_args_custom_loader
Currently used for the callback closure. No distinction there for single values.
signal_arg_de_error