pub enum Parse<T: CLI> {
Success(T),
Help(HelpInfo),
}
Expand description
A result of successful command-line interface parsing.
This is either a data structure holding the arguments passed to the program, or a string containing help info about the current command.
Variants§
Auto Trait Implementations§
impl<T> Freeze for Parse<T>where
T: Freeze,
impl<T> RefUnwindSafe for Parse<T>where
T: RefUnwindSafe,
impl<T> Send for Parse<T>where
T: Send,
impl<T> Sync for Parse<T>where
T: Sync,
impl<T> Unpin for Parse<T>where
T: Unpin,
impl<T> UnwindSafe for Parse<T>where
T: UnwindSafe,
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