pub trait App: Parser {
// Required methods
fn verbose(&self) -> u8;
fn run(&self) -> Result<()>;
// Provided method
fn start() -> Result<()> { ... }
}Expand description
Shared application interface.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.