pub enum Error {
Spawn(Error),
Registration(Error),
Io(Error),
Cleanup(Error),
Task(JoinError),
InvalidTimeout,
Timeout,
Cancelled,
Capture(Box<CaptureError>),
}Variants§
Spawn(Error)
Registration(Error)
Io(Error)
Cleanup(Error)
Task(JoinError)
InvalidTimeout
Timeout
Cancelled
Capture(Box<CaptureError>)
The process ended, but its output could not be captured to the end; the error keeps how it ended and the output read.
Trait Implementations§
Source§impl Error for Error
impl Error for Error
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 Error
impl !UnwindSafe for Error
impl Forget for Error
impl Freeze for Errorwhere
*const () is !null: Freeze,
PhantomData<ErrorData<CustomOwner>>: Freeze,
*const dyn Any + Send is !null: Freeze,
PhantomData<dyn Any + Send>: Freeze,
NonZero<u64>: Freeze,
*const CaptureError is !null: Freeze,
PhantomData<CaptureError>: Freeze,
impl Move for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Errorwhere
*const () is !null: UnsafeUnpin,
PhantomData<ErrorData<CustomOwner>>: UnsafeUnpin,
*const dyn Any + Send is !null: UnsafeUnpin,
PhantomData<dyn Any + Send>: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
*const CaptureError is !null: UnsafeUnpin,
PhantomData<CaptureError>: UnsafeUnpin,
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