Enum specs::error::Error [] [src]

pub enum Error {
    Custom(BoxedErr),
    WrongGeneration(WrongGeneration),
    // some variants omitted
}

The Specs error type. This is an enum which is able to represent all error types of this library.

Please note that you should not use __NonExhaustive, which is a variant specifically added for extensibility without breakage.

Variants

A custom, boxed error.

Wrong generation error.

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 From<NoError> for Error
[src]

[src]

Performs the conversion.

impl From<WrongGeneration> for Error
[src]

[src]

Performs the conversion.

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error