Struct cargo::util::errors::CargoTestError [] [src]

pub struct CargoTestError {
    pub desc: String,
    pub exit: Option<ExitStatus>,
    pub causes: Vec<ProcessError>,
}

Error when testcases fail

Fields

desc
exit
causes

Methods

impl CargoTestError

fn new(errors: Vec<ProcessError>) -> Self

Trait Implementations

impl Display for CargoTestError

fn fmt(&self, f: &mut Formatter) -> Result

impl Debug for CargoTestError

fn fmt(&self, f: &mut Formatter) -> Result

impl Error for CargoTestError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl CargoError for CargoTestError

fn is_human(&self) -> bool

fn cargo_cause(&self) -> Option<&CargoError>