Skip to main content

SystemControl

Trait SystemControl 

Source
pub trait SystemControl {
    // Required methods
    fn suspend(&self, state: &str);
    fn clock(&self) -> String;
}

Required Methods§

Source

fn suspend(&self, state: &str)

Source

fn clock(&self) -> String

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§