pub trait Runnable {
    fn run(&self) -> Result<(), Box<dyn Error>>;

    fn main(&self) -> ExitCode { ... }
}

Required Methods

Run something, can either succeed or fail.

Provided Methods

Run somethin, returning an ExitCode to return to the OS.

Implementors