pub(crate) trait CliOptionExt<O> {
// Required method
fn ok_or_cli_msg(self, msg: impl Into<String>) -> Result<O, CliError>;
}
Expand description
Extension trait to make turning Option
s into
CliError
/CliOutputResult
easier
Required 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.