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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".