pub trait ConsoleHost {
// Required method
fn run(self: Box<Self>) -> Result<()>;
}Expand description
Trait to run the console’s host on the main UI thread (if needed).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".