pub trait System: Device {
// Required methods
fn shutdown(&self);
fn idle_if<T: Fn() -> bool>(&self, cond: T);
fn wait_forever(&self) -> !;
fn disable_interruptions(&self);
fn enable_interruptions(&self);
}Expand description
Required Methods§
fn idle_if<T: Fn() -> bool>(&self, cond: T)
fn wait_forever(&self) -> !
fn disable_interruptions(&self)
fn enable_interruptions(&self)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.