Module ic_utils::call [−][src]
Expand description
Utilities to encapsulate calls to a canister.
Structs
AndThenAsyncCaller | An AsyncCall that applies a transform function to the result of the call. Because of constraints on the type system in Rust, both the input and output to the function must be deserializable. |
AsyncCaller | An async caller, encapsulating a call to an update method. |
MappedAsyncCaller | A structure that applies a transform function to the result of a call. Because of constraints on the type system in Rust, both the input and output to the function must be deserializable. |
SyncCaller | A synchronous call encapsulation. |
Enums
Expiry | An expiry value. Either not specified (the default), a delay relative to the time the call is made, or a specific date time. |
Traits
AsyncCall | A type that implements asynchronous calls (ie. ‘update’ calls). This can call synchronous and return a RequestId, or it can wait for the result by polling the agent, and return a type. |
SyncCall | A type that implements synchronous calls (ie. ‘query’ calls). |