pub enum Error {
InvalidTimeout,
OutputInsideWorkspace,
Environment(Error),
Process(Error),
AbnormalExit {
signal: Option<i32>,
output: Box<Output>,
},
}Variants§
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,
*const Output is !null: Freeze,
PhantomData<Output>: 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,
*const Output is !null: UnsafeUnpin,
PhantomData<Output>: 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