pub struct Outcome {
pub env: Vec<(String, OsString)>,
pub command: OsString,
pub args: Vec<OsString>,
}Expand description
The result of command_line().
Fields§
§env: Vec<(String, OsString)>Leading environment assignments, without the separating =. Names are ASCII shell identifiers.
command: OsStringThe command to execute.
args: Vec<OsString>The arguments to pass to the command.
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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