Trait comtrya_lib::atoms::Atom
source · pub trait Atom: Display {
// Required methods
fn plan(&self) -> Result<Outcome>;
fn execute(&mut self) -> Result<()>;
// Provided methods
fn output_string(&self) -> String { ... }
fn error_message(&self) -> String { ... }
fn status_code(&self) -> i32 { ... }
}