Skip to main content

AsyncRuntime

Trait AsyncRuntime 

Source
pub trait AsyncRuntime: Send {
    // Required method
    fn shutdown(&mut self);
}
Expand description

Handle to an async runtime, only used to shut it down for now.

Required Methods§

Source

fn shutdown(&mut self)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§