[][src]Enum cqrs_postgres::LoadError

pub enum LoadError<E: CqrsError> {
    Postgres(Error),
    UnknownEventType(String),
    DeserializationError(E),
}

An error while attempting to load an event or snapshot.

Variants

Postgres(Error)

An error from the PostgreSQL backend.

UnknownEventType(String)

The event type from the event stream is not one that can be deserialized.

DeserializationError(E)

The operation failed because there was a deserialization error.

Trait Implementations

impl<E: CqrsError> From<Error> for LoadError<E>[src]

impl<E: Debug + CqrsError> Debug for LoadError<E>[src]

impl<E: CqrsError> Display for LoadError<E>[src]

Auto Trait Implementations

impl<E> Send for LoadError<E>

impl<E> Sync for LoadError<E>

Blanket Implementations

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

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> CqrsError for T where
    T: Debug + Display + Send + Sync + 'static, 
[src]

impl<T> Same for T

type Output = T

Should always be Self