Structs§
- AddCycles
Arg - Canister
Call - Canister
Settings - RawCanister
Id - RunUntil
Completion Arg - SetStable
Memory Arg - State
Machine - User
Error - The error that is sent back to users of IC if something goes wrong. It’s designed to be copyable and serializable so that we can persist it in ingress history.
- Verify
Canister SigArg
Enums§
- Call
Error - Error
Code - User-facing error codes.
- Request
- Wasm
Result - This struct describes the different types that executing a Wasm function in a canister can produce
Functions§
- call_
candid - Call a canister candid method, anonymous. The state machine executes update calls synchronously, so there is no need to poll for the result.
- call_
candid_ as - Call a canister candid method, authenticated. The state machine executes update calls synchronously, so there is no need to poll for the result.
- query_
candid - Call a canister candid query method, anonymous.
- query_
candid_ as - Call a canister candid query method, authenticated.
- with_
candid - A helper function that we use to implement both
call_candid
andquery_candid
.