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