pub enum ExecResult<'a> {
Err(ParseError),
Ok {
command: &'a str,
subcommand: &'a str,
parameters: Vec<Parameter>,
options: Vec<Opt>,
},
}
Variants§
Err(ParseError)
Ok
Auto Trait Implementations§
impl<'a> Freeze for ExecResult<'a>
impl<'a> RefUnwindSafe for ExecResult<'a>
impl<'a> !Send for ExecResult<'a>
impl<'a> !Sync for ExecResult<'a>
impl<'a> Unpin for ExecResult<'a>
impl<'a> UnwindSafe for ExecResult<'a>
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