pub enum Operation {
ReadStream,
AppendEvents,
BeginTransaction,
SetExpectedVersions,
CommitTransaction,
}Expand description
Identifies the event store operation that failed.
Used by EventStoreError::StoreFailure to provide strongly-typed
identification of which operation encountered an infrastructure failure.
Variants§
ReadStream
Reading events from a stream.
AppendEvents
Appending events to streams.
BeginTransaction
Beginning a database transaction.
SetExpectedVersions
Setting expected versions for optimistic concurrency control.
CommitTransaction
Committing a database transaction.
Trait Implementations§
impl Copy for Operation
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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