pub struct InMemoryWorkflowStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl WorkflowStore for InMemoryWorkflowStore
impl WorkflowStore for InMemoryWorkflowStore
fn create<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
input: Value,
) -> Pin<Box<dyn Future<Output = WorkflowInstance> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Option<WorkflowInstance>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn complete_step<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 str,
step: &'life2 str,
result: Value,
) -> Pin<Box<dyn Future<Output = Result<WorkflowInstance, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn set_status<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
status: WorkflowStatus,
) -> Pin<Box<dyn Future<Output = Result<WorkflowInstance, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl !Freeze for InMemoryWorkflowStore
impl !RefUnwindSafe for InMemoryWorkflowStore
impl Forget for InMemoryWorkflowStore
impl Send for InMemoryWorkflowStore
impl Sync for InMemoryWorkflowStore
impl Unpin for InMemoryWorkflowStore
impl UnsafeUnpin for InMemoryWorkflowStore
impl UnwindSafe for InMemoryWorkflowStore
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