[][src]Enum sled::TransactionError

pub enum TransactionError<T = Error> {

An error type that is returned from the closure passed to the transaction method.



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.


A serious underlying storage issue has occurred that requires attention from an operator or a remediating system, such as corruption.

Trait Implementations

impl<T> From<Error> for TransactionError<T>[src]

impl<T: Clone> Clone for TransactionError<T>[src]

impl<T: PartialEq> PartialEq<TransactionError<T>> for TransactionError<T>[src]

impl<E: Display> Display for TransactionError<E>[src]

impl<T: Debug> Debug for TransactionError<T>[src]

impl<T> StructuralPartialEq for TransactionError<T>[src]

impl<E: Error> Error for TransactionError<E>[src]

Auto Trait Implementations

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>

impl<T = Error> !RefUnwindSafe for TransactionError<T>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized