pub struct CargoTestError {
pub test: Test,
pub desc: String,
pub exit: Option<ExitStatus>,
pub causes: Vec<ProcessError>,
}Expand description
Error when testcases fail
Fields§
§test: Test§desc: String§exit: Option<ExitStatus>§causes: Vec<ProcessError>Implementations§
Trait Implementations§
Source§impl Debug for CargoTestError
impl Debug for CargoTestError
Source§impl Display for CargoTestError
impl Display for CargoTestError
Source§impl Fail for CargoTestError
impl Fail for CargoTestError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read moreAuto Trait Implementations§
impl Freeze for CargoTestError
impl RefUnwindSafe for CargoTestError
impl Send for CargoTestError
impl Sync for CargoTestError
impl Unpin for CargoTestError
impl UnsafeUnpin for CargoTestError
impl UnwindSafe for CargoTestError
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