Struct ic_utils::canister::CanisterBuilder [−][src]
pub struct CanisterBuilder<'agent, T = ()> { /* fields omitted */ }
Expand description
A canister builder, which can be used to create a canister abstraction.
Implementations
Attach a canister ID to this canister.
Assign an agent to the canister being built.
Create this canister abstraction after passing in all the necessary state.
Create a canister builder with no value.
Apply an interface to this canister. An interface can add methods to the canister’s type. For example, see the Management Canister.
Trait Implementations
Auto Trait Implementations
impl<'agent, T = ()> !RefUnwindSafe for CanisterBuilder<'agent, T>
impl<'agent, T> Send for CanisterBuilder<'agent, T> where
T: Send,
impl<'agent, T> Sync for CanisterBuilder<'agent, T> where
T: Sync,
impl<'agent, T> Unpin for CanisterBuilder<'agent, T> where
T: Unpin,
impl<'agent, T = ()> !UnwindSafe for CanisterBuilder<'agent, T>