[−][src]Struct eventually_redis::EventSubscriber
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]
Id: TryFrom<String> + Eq + Send + Sync,
<Id as TryFrom<String>>::Error: Error + Send + Sync + 'static,
Event: Send + Sync,
Event: Deserialize<'de>,
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.
fn subscribe_all(
&self
) -> BoxFuture<'_, SubscriberResult<SubscriberEventStream<'_, Self>>>
[src]
&self
) -> BoxFuture<'_, SubscriberResult<SubscriberEventStream<'_, Self>>>
Auto Trait Implementations
impl<Id, Event> RefUnwindSafe for EventSubscriber<Id, Event> where
Event: RefUnwindSafe,
Id: RefUnwindSafe,
Event: RefUnwindSafe,
Id: RefUnwindSafe,
impl<Id, Event> Send for EventSubscriber<Id, Event> where
Event: Send,
Id: Send,
Event: Send,
Id: Send,
impl<Id, Event> Sync for EventSubscriber<Id, Event> where
Event: Sync,
Id: Sync,
Event: Sync,
Id: Sync,
impl<Id, Event> Unpin for EventSubscriber<Id, Event> where
Event: Unpin,
Id: Unpin,
Event: Unpin,
Id: Unpin,
impl<Id, Event> UnwindSafe for EventSubscriber<Id, Event> where
Event: UnwindSafe,
Id: UnwindSafe,
Event: UnwindSafe,
Id: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,