pub struct StopCanister;Expand description
Stop the canister.
Trait Implementations§
Source§impl Method for StopCanister
impl Method for StopCanister
const NAME: &'static str = "stop_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 StopCanister
impl RefUnwindSafe for StopCanister
impl Send for StopCanister
impl Sync for StopCanister
impl Unpin for StopCanister
impl UnwindSafe for StopCanister
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