pub enum CqrsProjectionFrame<TState> {
Value {
state: TState,
event_id: String,
cursor: CqrsCursor,
},
Error(CqrsProjectionError),
}Expand description
CqrsProjectionFrame variants.
Variants§
Value
Value variant.
Error(CqrsProjectionError)
Error variant.
Trait Implementations§
Source§impl<TState: Clone> Clone for CqrsProjectionFrame<TState>
impl<TState: Clone> Clone for CqrsProjectionFrame<TState>
Source§fn clone(&self) -> CqrsProjectionFrame<TState>
fn clone(&self) -> CqrsProjectionFrame<TState>
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<TState: Debug> Debug for CqrsProjectionFrame<TState>
impl<TState: Debug> Debug for CqrsProjectionFrame<TState>
Source§impl<TState: PartialEq> PartialEq for CqrsProjectionFrame<TState>
impl<TState: PartialEq> PartialEq for CqrsProjectionFrame<TState>
impl<TState> StructuralPartialEq for CqrsProjectionFrame<TState>
Auto Trait Implementations§
impl<TState> Freeze for CqrsProjectionFrame<TState>where
TState: Freeze,
impl<TState> RefUnwindSafe for CqrsProjectionFrame<TState>where
TState: RefUnwindSafe,
impl<TState> Send for CqrsProjectionFrame<TState>where
TState: Send,
impl<TState> Sync for CqrsProjectionFrame<TState>where
TState: Sync,
impl<TState> Unpin for CqrsProjectionFrame<TState>where
TState: Unpin,
impl<TState> UnsafeUnpin for CqrsProjectionFrame<TState>where
TState: UnsafeUnpin,
impl<TState> UnwindSafe for CqrsProjectionFrame<TState>where
TState: 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