Enum postgres_mapper::Error[][src]

pub enum Error {
    ColumnNotFound,
    Postgres(PostgresError),
}

General error type returned throughout the library.

Variants

A column in a row was not found.

An error from the postgres crate while converting a type.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl From<PostgresError> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error