pub enum Target {
Tool(&'static Tool, Vec<OsString>),
Repo(Vec<OsString>),
}Expand description
What an invocation turned out to be.
Variants§
Tool(&'static Tool, Vec<OsString>)
A tool, with its own argument vector: argv[0] is the tool’s name
whichever way it was reached.
Repo(Vec<OsString>)
The repository-named entry point itself (--help, --version,
doctor), with the arguments as given.
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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