pub enum Parsed {
Ok,
Help,
Error {
message: String,
show_usage: bool,
detail: Vec<String>,
},
}Expand description
Outcome of Cli::parse.
Variants§
Ok
Parsing succeeded; read resolved values from the CLI.
Help
Help was requested; the caller decides how to display it.
Error
Parsing failed; contains the message and help-display policy.
Trait Implementations§
impl StructuralPartialEq for Parsed
Auto Trait Implementations§
impl Freeze for Parsed
impl RefUnwindSafe for Parsed
impl Send for Parsed
impl Sync for Parsed
impl Unpin for Parsed
impl UnsafeUnpin for Parsed
impl UnwindSafe for Parsed
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more