ic_cdk::api::management_canister::main

Function load_canister_snapshot

Source
pub async fn load_canister_snapshot(
    arg: LoadCanisterSnapshotArgs,
) -> CallResult<()>
Expand description

Load a snapshot onto the canister.

It fails if no snapshot with the specified snapshot_id can be found.

See IC method load_canister_snapshot.