Enum specs::error::Error [−][src]
#[non_exhaustive] pub enum Error { Custom(BoxedErr), WrongGeneration(WrongGeneration), }
Expand description
The Specs error type. This is an enum which is able to represent all error types of this library.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Custom(BoxedErr)
A custom, boxed error.
WrongGeneration(WrongGeneration)
Wrong generation error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error