pub enum ProcessRuntimeFact<TState = AnyValue, TEvent = AnyValue, TEffect = AnyValue, TCommand = AnyValue> {
State {
state: TState,
cursor: ProcessCursor,
},
Event(ProcessEvent<TEvent>),
EffectRequest(ProcessEffectRequest<TEffect>),
Status(ProcessStatus),
Error(ProcessError<TCommand>),
Audit(ProcessAuditRecord),
Cursor(ProcessCursor),
}Expand description
ProcessRuntimeFact variants.
Variants§
State
State variant.
Event(ProcessEvent<TEvent>)
Event variant.
EffectRequest(ProcessEffectRequest<TEffect>)
EffectRequest variant.
Status(ProcessStatus)
Status variant.
Error(ProcessError<TCommand>)
Error variant.
Audit(ProcessAuditRecord)
Audit variant.
Cursor(ProcessCursor)
Cursor variant.
Trait Implementations§
Source§impl<TState: Clone, TEvent: Clone, TEffect: Clone, TCommand: Clone> Clone for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
impl<TState: Clone, TEvent: Clone, TEffect: Clone, TCommand: Clone> Clone for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
Source§fn clone(&self) -> ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
fn clone(&self) -> ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
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, TEvent: Debug, TEffect: Debug, TCommand: Debug> Debug for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
impl<TState: Debug, TEvent: Debug, TEffect: Debug, TCommand: Debug> Debug for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
Source§impl<TState: PartialEq, TEvent: PartialEq, TEffect: PartialEq, TCommand: PartialEq> PartialEq for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
impl<TState: PartialEq, TEvent: PartialEq, TEffect: PartialEq, TCommand: PartialEq> PartialEq for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
Source§fn eq(
&self,
other: &ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>,
) -> bool
fn eq( &self, other: &ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<TState, TEvent, TEffect, TCommand> StructuralPartialEq for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
Auto Trait Implementations§
impl<TState, TEvent, TEffect, TCommand> Freeze for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
impl<TState, TEvent, TEffect, TCommand> RefUnwindSafe for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>where
TState: RefUnwindSafe,
TEvent: RefUnwindSafe,
TEffect: RefUnwindSafe,
TCommand: RefUnwindSafe,
impl<TState, TEvent, TEffect, TCommand> Send for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
impl<TState, TEvent, TEffect, TCommand> Sync for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
impl<TState, TEvent, TEffect, TCommand> Unpin for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
impl<TState, TEvent, TEffect, TCommand> UnsafeUnpin for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
impl<TState, TEvent, TEffect, TCommand> UnwindSafe for ProcessRuntimeFact<TState, TEvent, TEffect, TCommand>
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