Enum postgres_mapper::Error [−][src]
pub enum Error { ColumnNotFound, Postgres(PostgresError), }
General error type returned throughout the library.
Variants
ColumnNotFound
A column in a row was not found.
Postgres(PostgresError)
An error from the postgres
crate while converting a type.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<PostgresError> for Error
[src]
impl From<PostgresError> for Error
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> FmtResult
[src]
fn fmt(&self, f: &mut Formatter) -> FmtResult
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
impl StdError for Error