[][src]Enum serde_postgres::DeError

pub enum DeError {
    Message(String),
    UnknownField,
    InvalidType(String),
    UnsupportedType,
}

This type represents all possible error that can occur when deserializing postgres rows.

Variants

Message(String)

A custom defined error occurred. Typically coming from serde.

UnknownField

Row contained a field unknown to the data structure.

InvalidType(String)

Row's column type was different from the Rust data structure.

UnsupportedType

Rust data structure contained a type unsupported by serde_postgres.

Trait Implementations

impl Clone for DeError[src]

impl Debug for DeError[src]

impl Display for DeError[src]

impl Error for DeError[src]

impl Error for DeError[src]

impl PartialEq<DeError> for DeError[src]

impl StructuralPartialEq for DeError[src]

Auto Trait Implementations

impl RefUnwindSafe for DeError

impl Send for DeError

impl Sync for DeError

impl Unpin for DeError

impl UnwindSafe for DeError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,