pub trait KitCanister {
    fn build(canister_id: Principal) -> Canister;
    fn candid() -> String;

    fn anonymous() -> Canister { ... }
}
Expand description

A canister.

Required Methods

Create a new instance of this canister using the provided canister id.

The candid description of the canister.

Provided Methods

Create a new instance of this canister with the anonymous principal id.

Implementors