[][src]Enum eventually_redis::SubscriberError

pub enum SubscriberError {
    Connection(RedisError),
    Payload(RedisError),
    DecodeMessage(Error),
    Subscribe(RedisError),
    DecodeSourceId(Error),
}

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

Variants

Connection(RedisError)

Error returned when failed to establish a PubSub connection with Redis.

Payload(RedisError)

Error returned when failed to get the payload from a SUBSCRIBE event.

DecodeMessage(Error)

Error returned when failed to decode the payload received from JSON.

Subscribe(RedisError)

Error returned when failed to execute the SUBSCRIBE command to receive notification on the stream topic.

DecodeSourceId(Error)

Error returned when attempting to decode the source id from the notification payload.

Trait Implementations

impl Debug for SubscriberError[src]

impl Display for SubscriberError[src]

impl Error for SubscriberError[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.