Trait ya_runtime_api::server::RuntimeControl[][src]

pub trait RuntimeControl {
    fn id(&self) -> u32;
fn stop(&self);
fn stopped(&self) -> BoxFuture<'_, i32>; }
Expand description

Runtime control interface

Required methods

Return runtime process id

Stop the runtime

Return a future, resolved when the runtime is stopped

Implementations on Foreign Types

Implementors