pub struct ChaosEventStore<S> { /* private fields */ }Implementations§
Source§impl<S> ChaosEventStore<S>
impl<S> ChaosEventStore<S>
pub fn new(store: S, config: ChaosConfig) -> Self
Trait Implementations§
Source§impl<S> EventStore for ChaosEventStore<S>where
S: EventStore + Sync,
impl<S> EventStore for ChaosEventStore<S>where
S: EventStore + Sync,
Source§fn read_stream<E: Event>(
&self,
stream_id: StreamId,
) -> impl Future<Output = Result<EventStreamReader<E>, EventStoreError>> + Send
fn read_stream<E: Event>( &self, stream_id: StreamId, ) -> impl Future<Output = Result<EventStreamReader<E>, EventStoreError>> + Send
Read all events from a stream. Read more
Source§fn append_events(
&self,
writes: StreamWrites,
) -> impl Future<Output = Result<EventStreamSlice, EventStoreError>> + Send
fn append_events( &self, writes: StreamWrites, ) -> impl Future<Output = Result<EventStreamSlice, EventStoreError>> + Send
Atomically append events to multiple streams with optimistic concurrency control. Read more
Auto Trait Implementations§
impl<S> !Freeze for ChaosEventStore<S>
impl<S> RefUnwindSafe for ChaosEventStore<S>where
S: RefUnwindSafe,
impl<S> Send for ChaosEventStore<S>where
S: Send,
impl<S> Sync for ChaosEventStore<S>where
S: Sync,
impl<S> Unpin for ChaosEventStore<S>where
S: Unpin,
impl<S> UnsafeUnpin for ChaosEventStore<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ChaosEventStore<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more