[][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: CqrsError> Display for LoadError<E>[src]

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

Auto Trait Implementations

impl<E> Sync for LoadError<E>

impl<E> Send for LoadError<E>

impl<E> Unpin for LoadError<E> where
    E: Unpin

impl<E> !UnwindSafe for LoadError<E>

impl<E> !RefUnwindSafe for LoadError<E>

Blanket Implementations

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

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

impl<T> From<T> for T[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self