pub struct DeleteCanister;Expand description
Delete the canister.
Trait Implementations§
Source§impl Method for DeleteCanister
impl Method for DeleteCanister
const NAME: &'static str = "delete_canister"
type Arguments = (WithCanisterId,)
type Response = ()
fn perform(id: Principal, args: Self::Arguments) -> CallResponse<Self::Response>
fn perform_with_payment( id: Principal, args: Self::Arguments, cycles: u64, ) -> CallResponse<Self::Response>
Auto Trait Implementations§
impl Freeze for DeleteCanister
impl RefUnwindSafe for DeleteCanister
impl Send for DeleteCanister
impl Sync for DeleteCanister
impl Unpin for DeleteCanister
impl UnwindSafe for DeleteCanister
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more