Skip to main content

UnitManager

Trait UnitManager 

Source
pub trait UnitManager {
    // Required methods
    fn refuse_manual_start(&self) -> Result<bool, Error>;
    fn refuse_manual_stop(&self) -> Result<bool, Error>;
}

Required Methods§

Source

fn refuse_manual_start(&self) -> Result<bool, Error>

Source

fn refuse_manual_stop(&self) -> Result<bool, Error>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§