pub enum EarlyExit {
Err(Error),
Help(Help),
}Expand description
Information to display to the user about why a FromArgs construction
exited early.
This can occur due to either failed parsing or a flag like --help.
Variants§
Err(Error)
Early exit and display the error message.
Help(Help)
Early exit and display the help message.
Trait Implementations§
impl StructuralPartialEq for EarlyExit
Auto Trait Implementations§
impl Freeze for EarlyExit
impl RefUnwindSafe for EarlyExit
impl Send for EarlyExit
impl Sync for EarlyExit
impl Unpin for EarlyExit
impl UnwindSafe for EarlyExit
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