[][src]Enum eventually_redis::StoreError

pub enum StoreError {
    EncodeEvents(Error),
    DecodeEvents(Error),
    Stream(RedisError),
    NoKey(&'static str),
    DecodeSourceId(Error),
}

Error types returned by the eventually::EventStore implementation on the EventStore type.

Variants

EncodeEvents(Error)

Error returned when failed to encode events to JSON during append.

DecodeEvents(Error)

Error returned when failed to decoding events from JSON during either stream or stream_all.

Stream(RedisError)

Error returned when reading the stream coming from XRANGE .. COUNT n during either stream or stream_all.

NoKey(&'static str)

Error returned when attempting to read a key from the Redis stream that does not exist.

DecodeSourceId(Error)

Error returned when attempting to decode the source id of one Redis stream entry.

Trait Implementations

impl AppendError for StoreError[src]

impl Debug for StoreError[src]

impl Display for StoreError[src]

impl Error for StoreError[src]

Auto Trait Implementations

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> 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.