Struct aur_fetch::CommandFailed
source · [−]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: PathBufThe current working directory of the command ran.
command: PathBufThe 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
sourceimpl Clone for CommandFailed
impl Clone for CommandFailed
sourcefn clone(&self) -> CommandFailed
fn clone(&self) -> CommandFailed
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CommandFailed
impl Debug for CommandFailed
Auto Trait Implementations
impl RefUnwindSafe for CommandFailed
impl Send for CommandFailed
impl Sync for CommandFailed
impl Unpin for CommandFailed
impl UnwindSafe for CommandFailed
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more