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: String exit: Option<ExitStatus> causes: Vec<ProcessError>

Methods

impl CargoTestError
[src]

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

Trait Implementations

impl Display for CargoTestError
[src]

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

Formats the value using the given formatter.

impl Debug for CargoTestError
[src]

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

Formats the value using the given formatter.

impl Error for CargoTestError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

The lower-level cause of this error, if any. Read more

impl CargoError for CargoTestError
[src]

fn is_human(&self) -> bool

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