[−][src]Struct eventific_postgres::PostgresStore
Methods
impl<D> PostgresStore<D>
[src]
Trait Implementations
impl<D: Clone> Clone for PostgresStore<D>
[src]
fn clone(&self) -> PostgresStore<D>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<D: 'static + Send + Sync + Debug + Clone + Serialize + DeserializeOwned> Store<D> for PostgresStore<D>
[src]
fn init(
&mut self,
logger: &Logger,
service_name: &str
) -> Box<dyn Future<Item = (), Error = StoreError<D>> + Send>
[src]
&mut self,
logger: &Logger,
service_name: &str
) -> Box<dyn Future<Item = (), Error = StoreError<D>> + Send>
fn save_events(
&self,
events: Vec<Event<D>>
) -> Box<dyn Future<Item = (), Error = StoreError<D>> + Send>
[src]
&self,
events: Vec<Event<D>>
) -> Box<dyn Future<Item = (), Error = StoreError<D>> + Send>
fn events(
&self,
aggregate_id: Uuid
) -> Box<dyn Future<Item = Vec<Event<D>>, Error = StoreError<D>> + Send>
[src]
&self,
aggregate_id: Uuid
) -> Box<dyn Future<Item = Vec<Event<D>>, Error = StoreError<D>> + Send>
fn aggregate_ids(
&self
) -> Box<dyn Stream<Item = Uuid, Error = StoreError<D>> + Send>
[src]
&self
) -> Box<dyn Stream<Item = Uuid, Error = StoreError<D>> + Send>
fn total_aggregates(
&self
) -> Box<dyn Future<Item = u64, Error = StoreError<D>> + Send>
[src]
&self
) -> Box<dyn Future<Item = u64, Error = StoreError<D>> + Send>
fn total_events_for_aggregate(
&self,
aggregate_id: Uuid
) -> Box<dyn Future<Item = u64, Error = StoreError<D>> + Send>
[src]
&self,
aggregate_id: Uuid
) -> Box<dyn Future<Item = u64, Error = StoreError<D>> + Send>
fn total_events(
&self
) -> Box<dyn Future<Item = u64, Error = StoreError<D>> + Send>
[src]
&self
) -> Box<dyn Future<Item = u64, Error = StoreError<D>> + Send>
Auto Trait Implementations
impl<D> Send for PostgresStore<D> where
D: Send,
D: Send,
impl<D> Unpin for PostgresStore<D> where
D: Unpin,
D: Unpin,
impl<D> Sync for PostgresStore<D> where
D: Sync,
D: Sync,
impl<D> UnwindSafe for PostgresStore<D> where
D: UnwindSafe,
D: UnwindSafe,
impl<D> RefUnwindSafe for PostgresStore<D> where
D: RefUnwindSafe,
D: RefUnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self