Struct ic_kit::interfaces::management::StopCanister
source · [−]pub struct StopCanister;Expand description
Stop the canister.
Trait Implementations
sourceimpl 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 RefUnwindSafe for StopCanister
impl Send for StopCanister
impl Sync for StopCanister
impl Unpin for StopCanister
impl UnwindSafe for StopCanister
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more