create_canister_request

Function create_canister_request 

Source
pub async fn create_canister_request<A>(
    canister_role: &CanisterRole,
    parent: CreateCanisterParent,
    extra: Option<A>,
) -> Result<CreateCanisterResponse, Error>
where A: CandidType + Send + Sync,
Expand description

Ask root to create and install a canister of the given type.