[][src]Enum sled::ConflictableTransactionError

pub enum ConflictableTransactionError<T = Error> {
    // some variants omitted

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 ConflictableTransactionError<T>[src]

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

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

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

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

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

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

Auto Trait Implementations

impl<T> Send for ConflictableTransactionError<T> where
    T: Send

impl<T> Sync for ConflictableTransactionError<T> where
    T: Sync

impl<T> Unpin for ConflictableTransactionError<T> where
    T: Unpin

impl<T = Error> !UnwindSafe for ConflictableTransactionError<T>

impl<T = Error> !RefUnwindSafe for ConflictableTransactionError<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