Enum diesel::result::Error [] [src]

pub enum Error {
    InvalidCString(NulError),
    DatabaseError(DatabaseErrorKindBox<DatabaseErrorInformation + Send>),
    NotFound,
    QueryBuilderError(Box<StdError + Send + Sync>),
    DeserializationError(Box<StdError + Send + Sync>),
    SerializationError(Box<StdError + Send + Sync>),
    // some variants omitted
}

The generic "things can fail in a myriad of ways" enum. This type is not indended to be exhaustively matched, and new variants may be added in the future without a major version bump.

Variants

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<NulError> for Error
[src]

Performs the conversion.

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

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

A short description of the error. Read more

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

impl PartialEq for Error
[src]

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

This method tests for !=.