Crate ic_test_state_machine_client

Source

Structs§

AddCyclesArg
CanisterCall
CanisterSettings
RawCanisterId
RunUntilCompletionArg
SetStableMemoryArg
StateMachine
UserError
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.
VerifyCanisterSigArg

Enums§

CallError
ErrorCode
User-facing error codes.
Request
WasmResult
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 and query_candid.