Enum sled::transaction::TransactionError [−][src]
Expand description
An error type that is returned from the closure
passed to the transaction
method.
Variants
A user-provided error type that indicates the transaction should abort.
This is passed into the return value of transaction
as a direct Err
instance, rather than forcing users to interact with this enum
directly.
Storage(Error)
A serious underlying storage issue has occurred that requires attention from an operator or a remediating system, such as corruption.
Tuple Fields of Storage
0: Error
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<T = Error> !RefUnwindSafe for TransactionError<T>
impl<T> Send for TransactionError<T> where
T: Send,
impl<T> Sync for TransactionError<T> where
T: Sync,
impl<T> Unpin for TransactionError<T> where
T: Unpin,
impl<T = Error> !UnwindSafe for TransactionError<T>
Blanket Implementations
Mutably borrows from an owned value. Read more