Enum diesel::result::TransactionError [] [src]

pub enum TransactionError<E> {
    CouldntCreateTransaction(Error),
    UserReturnedError(E),
}

Variants

CouldntCreateTransaction
UserReturnedError

Trait Implementations

impl<E> From<Error> for TransactionError<E>

fn from(e: Error) -> Self

impl<E: Display> Display for TransactionError<E>

fn fmt(&self, f: &mut Formatter) -> Result

impl<E: StdError> StdError for TransactionError<E>

fn description(&self) -> &str

1.0.0fn cause(&self) -> Option<&Error>

Derived Implementations

impl<E: PartialEq> PartialEq for TransactionError<E>

fn eq(&self, __arg_0: &TransactionError<E>) -> bool

fn ne(&self, __arg_0: &TransactionError<E>) -> bool

impl<E: Debug> Debug for TransactionError<E>

fn fmt(&self, __arg_0: &mut Formatter) -> Result