pub trait Interface: Send {
// Required method
fn get_current_cpu(&mut self) -> Box<dyn InterfaceCPU>;
}Required Methods§
fn get_current_cpu(&mut self) -> Box<dyn InterfaceCPU>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".