pub enum CliRunError {
Spawn(Error),
Wait(Error),
TimedOut(Duration),
}Expand description
Why output_within produced no output.
Variants§
Spawn(Error)
The command could not be started.
Wait(Error)
Waiting for the command or reading its output failed.
TimedOut(Duration)
The command outran its budget and was killed with its process group.
Trait Implementations§
Source§impl Debug for CliRunError
impl Debug for CliRunError
Source§impl Display for CliRunError
impl Display for CliRunError
Source§impl Error for CliRunError
impl Error for CliRunError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for CliRunError
impl !UnwindSafe for CliRunError
impl Freeze for CliRunError
impl Send for CliRunError
impl Sync for CliRunError
impl Unpin for CliRunError
impl UnsafeUnpin for CliRunError
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