[][src]Struct eventually_redis::EventSubscriber

pub struct EventSubscriber<Id, Event> { /* fields omitted */ }

Redis backend implementation for eventually::EventSubscriber trait.

Trait Implementations

impl<Id, Event> EventSubscriber for EventSubscriber<Id, Event> where
    Id: TryFrom<String> + Eq + Send + Sync,
    <Id as TryFrom<String>>::Error: Error + Send + Sync + 'static,
    Event: Send + Sync,
    Event: Deserialize<'de>, 
[src]

type SourceId = Id

Type of the Source id, typically an AggregateId. Read more

type Event = Event

Event type stored in the EventStore, typically an Aggregate::Event. Read more

type Error = SubscriberError

Possible errors returned when receiving events from the notification channel.

Auto Trait Implementations

impl<Id, Event> RefUnwindSafe for EventSubscriber<Id, Event> where
    Event: RefUnwindSafe,
    Id: RefUnwindSafe

impl<Id, Event> Send for EventSubscriber<Id, Event> where
    Event: Send,
    Id: Send

impl<Id, Event> Sync for EventSubscriber<Id, Event> where
    Event: Sync,
    Id: Sync

impl<Id, Event> Unpin for EventSubscriber<Id, Event> where
    Event: Unpin,
    Id: Unpin

impl<Id, Event> UnwindSafe for EventSubscriber<Id, Event> where
    Event: UnwindSafe,
    Id: UnwindSafe

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