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

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

Variants

CouldntCreateTransaction(Error)UserReturnedError(E)

Trait Implementations

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

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

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

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

Formats the value using the given formatter.

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

fn from(e: Error) -> Self

Performs the conversion.

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

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

Formats the value using the given formatter.

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

fn description(&self) -> &str

A short description of the error. Read more

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

The lower-level cause of this error, if any. Read more