Struct cargo::util::errors::CargoError []

pub struct CargoError(pub CargoErrorKind, _);

The Error type.

This tuple struct is made of two elements:

Methods

impl CargoError

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Returns the kind of the error.

Iterates over the error chain.

Returns the backtrace associated with this error.

impl CargoError
[src]

Methods from Deref<Target = CargoErrorKind>

A string describing the error kind.

Trait Implementations

impl Debug for CargoError

Formats the value using the given formatter.

impl ChainedError for CargoError

Associated kind type.

Constructs an error from a kind, and generates a backtrace.

Constructs a chained error from another error and a kind, and generates a backtrace.

Returns the kind of the error.

Iterates over the error chain.

Returns the backtrace associated with this error.

Returns an object which implements Display for printing the full context of this error. Read more

impl Error for CargoError

A short description of the error. Read more

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

impl Display for CargoError

Formats the value using the given formatter. Read more

impl From<Error> for CargoError

Performs the conversion.

impl From<ReqParseError> for CargoError

Performs the conversion.

impl From<SemVerError> for CargoError

Performs the conversion.

impl From<Error> for CargoError

Performs the conversion.

impl From<Error> for CargoError

Performs the conversion.

impl From<Error> for CargoError

Performs the conversion.

impl From<Error> for CargoError

Performs the conversion.

impl From<Error> for CargoError

Performs the conversion.

impl From<ParseIntError> for CargoError

Performs the conversion.

impl From<ParseBoolError> for CargoError

Performs the conversion.

impl From<ParseError> for CargoError

Performs the conversion.

impl From<Error> for CargoError

Performs the conversion.

impl From<Error> for CargoError

Performs the conversion.

impl From<CargoErrorKind> for CargoError

Performs the conversion.

impl<'a> From<&'a str> for CargoError

Performs the conversion.

impl From<String> for CargoError

Performs the conversion.

impl Deref for CargoError

The resulting type after dereferencing

The method called to dereference a value