pub trait SystemConfigurator: Send + Sync {
// Required methods
fn name(&self) -> &str;
fn is_available(&self) -> bool;
fn current_state(&self) -> Result<Value>;
fn diff(&self, desired: &Value) -> Result<Vec<SystemDrift>>;
fn apply(&self, desired: &Value, printer: &Printer) -> Result<()>;
}Required Methods§
fn is_available(&self) -> bool
Sourcefn current_state(&self) -> Result<Value>
fn current_state(&self) -> Result<Value>
Read current state from the system