pub enum ProcessRunError {
SpawnFailed,
Timeout,
WaitFailed,
StdoutReadFailed,
StderrReadFailed,
}Expand description
Failure modes returned by run_command.
Variants§
SpawnFailed
Spawning the child process failed before execution began.
Timeout
The command exceeded the supplied deadline and was killed.
WaitFailed
Waiting for process termination failed after spawn succeeded.
StdoutReadFailed
Reading stdout failed or the stdout capture task terminated unexpectedly.
StderrReadFailed
Reading stderr failed or the stderr capture task terminated unexpectedly.
Trait Implementations§
Source§impl Clone for ProcessRunError
impl Clone for ProcessRunError
Source§fn clone(&self) -> ProcessRunError
fn clone(&self) -> ProcessRunError
Returns a duplicate 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 ProcessRunError
impl Debug for ProcessRunError
Source§impl PartialEq for ProcessRunError
impl PartialEq for ProcessRunError
impl Copy for ProcessRunError
impl Eq for ProcessRunError
impl StructuralPartialEq for ProcessRunError
Auto Trait Implementations§
impl Freeze for ProcessRunError
impl RefUnwindSafe for ProcessRunError
impl Send for ProcessRunError
impl Sync for ProcessRunError
impl Unpin for ProcessRunError
impl UnsafeUnpin for ProcessRunError
impl UnwindSafe for ProcessRunError
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