[][src]Struct eventually_redis::EventStore

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

Redis backend implementation for eventually::EventStore trait.

Trait Implementations

impl<Id: Clone, Event: Clone> Clone for EventStore<Id, Event>[src]

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

type SourceId = Id

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

type Event = Event

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

type Error = StoreError

Possible errors returned by the EventStore when requesting operations.

Auto Trait Implementations

impl<Id, Event> !RefUnwindSafe for EventStore<Id, Event>

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

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

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

impl<Id, Event> !UnwindSafe for EventStore<Id, Event>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.