pub enum KomerError {
Database(Error),
DBError(DBError),
Serialization(String),
Deserialization(String),
InvalidSchema {
expected: String,
got: String,
},
EmptyKeys,
}Variants§
Database(Error)
DBError(DBError)
Serialization(String)
Deserialization(String)
InvalidSchema
EmptyKeys
Trait Implementations§
Source§impl Debug for KomerError
impl Debug for KomerError
Source§impl Display for KomerError
impl Display for KomerError
Source§impl Error for KomerError
impl Error for KomerError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<DBError> for KomerError
impl From<DBError> for KomerError
Source§impl From<Error> for KomerError
impl From<Error> for KomerError
Source§impl From<KomerError> for KERIError
impl From<KomerError> for KERIError
Source§fn from(source: KomerError) -> Self
fn from(source: KomerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for KomerError
impl !UnwindSafe for KomerError
impl Freeze for KomerError
impl Send for KomerError
impl Sync for KomerError
impl Unpin for KomerError
impl UnsafeUnpin for KomerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more