Struct voodoo::Error [] [src]

pub struct Error {
    pub kind: ErrorKind,
    pub cause: Option<Box<Error>>,
}

An Error.

Fields

Methods

impl Error
[src]

[src]

Returns an Error with the UnspecifiedDimensions kind variant.

[src]

Creates a new error with this error as its cause.

[src]

Returns the error variant and contents.

[src]

Returns the immediate cause of this error (e.g. the next error in the chain).

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<()> for Error
[src]

[src]

Performs the conversion.

impl From<String> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for String
[src]

[src]

Performs the conversion.

impl<'a> From<&'a str> for Error
[src]

[src]

Performs the conversion.

impl From<NulError> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<FromUtf8Error> for Error
[src]

[src]

Performs the conversion.

impl From<IntoStringError> for Error
[src]

[src]

Performs the conversion.

impl From<FromBytesWithNulError> for Error
[src]

[src]

Performs the conversion.

impl Send for Error
[src]

Auto Trait Implementations

impl Sync for Error