pub enum CqrsRuntimeFact<TCommand = AnyValue, TEvent = AnyValue> {
Event(CqrsEvent<TEvent>),
Status(CqrsStatus),
Error(CqrsError<TCommand>),
Audit(CqrsAuditRecord),
Cursor(CqrsCursor),
}Expand description
CqrsRuntimeFact variants.
Variants§
Event(CqrsEvent<TEvent>)
Event variant.
Status(CqrsStatus)
Status variant.
Error(CqrsError<TCommand>)
Error variant.
Audit(CqrsAuditRecord)
Audit variant.
Cursor(CqrsCursor)
Cursor variant.
Trait Implementations§
Source§impl<TCommand: Clone, TEvent: Clone> Clone for CqrsRuntimeFact<TCommand, TEvent>
impl<TCommand: Clone, TEvent: Clone> Clone for CqrsRuntimeFact<TCommand, TEvent>
Source§fn clone(&self) -> CqrsRuntimeFact<TCommand, TEvent>
fn clone(&self) -> CqrsRuntimeFact<TCommand, TEvent>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<TCommand: PartialEq, TEvent: PartialEq> PartialEq for CqrsRuntimeFact<TCommand, TEvent>
impl<TCommand: PartialEq, TEvent: PartialEq> PartialEq for CqrsRuntimeFact<TCommand, TEvent>
Source§fn eq(&self, other: &CqrsRuntimeFact<TCommand, TEvent>) -> bool
fn eq(&self, other: &CqrsRuntimeFact<TCommand, TEvent>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<TCommand, TEvent> StructuralPartialEq for CqrsRuntimeFact<TCommand, TEvent>
Auto Trait Implementations§
impl<TCommand, TEvent> Freeze for CqrsRuntimeFact<TCommand, TEvent>
impl<TCommand, TEvent> RefUnwindSafe for CqrsRuntimeFact<TCommand, TEvent>where
TEvent: RefUnwindSafe,
TCommand: RefUnwindSafe,
impl<TCommand, TEvent> Send for CqrsRuntimeFact<TCommand, TEvent>
impl<TCommand, TEvent> Sync for CqrsRuntimeFact<TCommand, TEvent>
impl<TCommand, TEvent> Unpin for CqrsRuntimeFact<TCommand, TEvent>
impl<TCommand, TEvent> UnsafeUnpin for CqrsRuntimeFact<TCommand, TEvent>where
TEvent: UnsafeUnpin,
TCommand: UnsafeUnpin,
impl<TCommand, TEvent> UnwindSafe for CqrsRuntimeFact<TCommand, TEvent>where
TEvent: UnwindSafe,
TCommand: 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