Function load_canister_snapshot

Source
pub async fn load_canister_snapshot(
    arg: LoadCanisterSnapshotArgs,
) -> CallResult<()>
👎Deprecated since 0.18.0: The api::management_canister::main module is deprecated. Please use the management_canister module at the crate root.
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.