Struct cargo::util::errors::CargoTestError
source · 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
sourceimpl Debug for CargoTestError
impl Debug for CargoTestError
sourceimpl Display for CargoTestError
impl Display for CargoTestError
sourceimpl Fail for CargoTestError
impl Fail for CargoTestError
sourcefn 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
sourcefn 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 RefUnwindSafe for CargoTestError
impl Send for CargoTestError
impl Sync for CargoTestError
impl Unpin for CargoTestError
impl UnwindSafe for CargoTestError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more