Enum core::identifier::error::Error
[−]pub enum Error {
Show 24 variants
InfalibleError {
source: Infallible,
},
UnknownError(String),
VerificationError(String),
PayloadError(String),
DeserializationError,
Base64DecodingError {
source: DecodeError,
},
Ed25519Error {
source: Error,
},
SerdeJson {
source: Error,
},
SerdeCbor {
source: Error,
},
MsgPackSerialize {
source: Error,
},
MsgPackDeserialize {
source: Error,
},
EventError(String),
SeedError(String),
SemanticError(String),
InvalidIdentifier(String),
SignError(String),
NoSignatureError(String),
KeyPairError(String),
TapleError(String),
StoreError(String),
DuplicateEvent,
OutOfOrder,
SchemaNotFoundError,
SubjectNotFoundError,
}
Variants
InfalibleError
Fields
source: Infallible
UnknownError(String)
VerificationError(String)
PayloadError(String)
DeserializationError
Base64DecodingError
Ed25519Error
SerdeJson
Fields
source: Error
SerdeCbor
MsgPackSerialize
MsgPackDeserialize
EventError(String)
SeedError(String)
SemanticError(String)
InvalidIdentifier(String)
SignError(String)
NoSignatureError(String)
KeyPairError(String)
TapleError(String)
StoreError(String)
DuplicateEvent
OutOfOrder
SchemaNotFoundError
SubjectNotFoundError
Trait Implementations
impl Error for Error
impl Error for Error
fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<Infallible> for Error
impl From<Infallible> for Error
fn from(source: Infallible) -> Error
fn from(source: Infallible) -> Error
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> AsFail for Twhere
T: Fail,
impl<T> AsFail for Twhere
T: Fail,
fn as_fail(&self) -> &(dyn Fail + 'static)
fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to
Self
into a dynamic trait object of Fail
.sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more