pub struct CommandFailed {
pub dir: PathBuf,
pub command: PathBuf,
pub args: Vec<String>,
pub stderr: Option<String>,
}
Expand description
Info for a command that exited non 0.
Fields§
§dir: PathBuf
The current working directory of the command ran.
command: PathBuf
The command that was ran.
args: Vec<String>
Args passed to the command that was ran.
stderr: Option<String>
The stderr from the command ran.
Trait Implementations§
Source§impl Clone for CommandFailed
impl Clone for CommandFailed
Source§fn clone(&self) -> CommandFailed
fn clone(&self) -> CommandFailed
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CommandFailed
impl Debug for CommandFailed
Auto Trait Implementations§
impl Freeze for CommandFailed
impl RefUnwindSafe for CommandFailed
impl Send for CommandFailed
impl Sync for CommandFailed
impl Unpin for CommandFailed
impl UnwindSafe for CommandFailed
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