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
Custom(BoxedErr)
A custom, boxed error.
WrongGeneration(WrongGeneration)
Wrong generation error.
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> FmtResult
[src]
Formats the value using the given formatter. Read more
impl From<NoError> for Error
[src]
impl From<WrongGeneration> for Error
[src]
fn from(e: WrongGeneration) -> Self
[src]
Performs the conversion.