Enum sled::transaction::UnabortableTransactionError [−][src]
pub enum UnabortableTransactionError {
Conflict,
Storage(Error),
}
Expand description
An error type that is returned from the closure
passed to the transaction
method.
Variants
An internal conflict has occurred and the transaction
method will
retry the passed-in closure until it succeeds. This should never be
returned directly from the user’s closure, as it will create an
infinite loop that never returns. This is why it is hidden.
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
Performs the conversion.
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 !RefUnwindSafe for UnabortableTransactionError
impl Send for UnabortableTransactionError
impl Sync for UnabortableTransactionError
impl Unpin for UnabortableTransactionError
impl !UnwindSafe for UnabortableTransactionError
Blanket Implementations
Mutably borrows from an owned value. Read more