pub struct InMemoryJournal { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for InMemoryJournal
impl Clone for InMemoryJournal
Source§fn clone(&self) -> InMemoryJournal
fn clone(&self) -> InMemoryJournal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for InMemoryJournal
impl Default for InMemoryJournal
Source§fn default() -> InMemoryJournal
fn default() -> InMemoryJournal
Returns the “default value” for a type. Read more
Source§impl Journal for InMemoryJournal
impl Journal for InMemoryJournal
fn append<'life0, 'life1, 'async_trait>(
&'life0 self,
workflow_id: &'life1 WorkflowId,
event: WorkflowEvent,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn replay<'life0, 'life1, 'async_trait>(
&'life0 self,
workflow_id: &'life1 WorkflowId,
) -> Pin<Box<dyn Future<Output = Result<Vec<WorkflowEvent>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for InMemoryJournal
impl !RefUnwindSafe for InMemoryJournal
impl Send for InMemoryJournal
impl Sync for InMemoryJournal
impl Unpin for InMemoryJournal
impl UnsafeUnpin for InMemoryJournal
impl !UnwindSafe for InMemoryJournal
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