pub enum KVStoreError {
DatabaseError(DatabaseError),
TransactionError(TransactionError),
TableError(TableError),
CommitError(CommitError),
SerializationError(Error),
StorageError(StorageError),
Task(JoinError),
}Expand description
Errors that can occur during key-value store operations.
Variants§
DatabaseError(DatabaseError)
TransactionError(TransactionError)
TableError(TableError)
CommitError(CommitError)
SerializationError(Error)
StorageError(StorageError)
Task(JoinError)
Trait Implementations§
Source§impl Debug for KVStoreError
impl Debug for KVStoreError
Source§impl Display for KVStoreError
impl Display for KVStoreError
Source§impl Error for KVStoreError
impl Error for KVStoreError
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<CommitError> for KVStoreError
impl From<CommitError> for KVStoreError
Source§fn from(e: CommitError) -> Self
fn from(e: CommitError) -> Self
Converts to this type from the input type.
Source§impl From<DatabaseError> for KVStoreError
impl From<DatabaseError> for KVStoreError
Source§fn from(e: DatabaseError) -> Self
fn from(e: DatabaseError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for KVStoreError
impl From<Error> for KVStoreError
Source§impl From<JoinError> for KVStoreError
impl From<JoinError> for KVStoreError
Source§impl From<StorageError> for KVStoreError
impl From<StorageError> for KVStoreError
Source§fn from(e: StorageError) -> Self
fn from(e: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<TableError> for KVStoreError
impl From<TableError> for KVStoreError
Source§fn from(e: TableError) -> Self
fn from(e: TableError) -> Self
Converts to this type from the input type.
Source§impl From<TransactionError> for KVStoreError
impl From<TransactionError> for KVStoreError
Source§fn from(e: TransactionError) -> Self
fn from(e: TransactionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for KVStoreError
impl !UnwindSafe for KVStoreError
impl Forget for KVStoreError
impl Freeze for KVStoreError
impl Send for KVStoreError
impl Sync for KVStoreError
impl Unpin for KVStoreError
impl UnsafeUnpin for KVStoreError
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