pub enum WorkflowRuntimePoll {
Call(WorkflowRuntimeCall),
Request(WorkflowRuntimeRequest),
Complete(WorkflowModuleOutput),
Pending,
}Expand description
Result of polling a workflow JavaScript runtime execution.
Variants§
Call(WorkflowRuntimeCall)
Runtime emitted a synchronous call. Core should handle it and poll again.
Request(WorkflowRuntimeRequest)
Runtime is waiting for a long-running request to be resolved.
Complete(WorkflowModuleOutput)
Workflow module completed.
Pending
Runtime has no work ready and is not complete.
Trait Implementations§
Source§impl Clone for WorkflowRuntimePoll
impl Clone for WorkflowRuntimePoll
Source§fn clone(&self) -> WorkflowRuntimePoll
fn clone(&self) -> WorkflowRuntimePoll
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 Debug for WorkflowRuntimePoll
impl Debug for WorkflowRuntimePoll
Source§impl<'de> Deserialize<'de> for WorkflowRuntimePoll
impl<'de> Deserialize<'de> for WorkflowRuntimePoll
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WorkflowRuntimePoll
impl PartialEq for WorkflowRuntimePoll
Source§fn eq(&self, other: &WorkflowRuntimePoll) -> bool
fn eq(&self, other: &WorkflowRuntimePoll) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkflowRuntimePoll
impl Serialize for WorkflowRuntimePoll
impl StructuralPartialEq for WorkflowRuntimePoll
Auto Trait Implementations§
impl Freeze for WorkflowRuntimePoll
impl RefUnwindSafe for WorkflowRuntimePoll
impl Send for WorkflowRuntimePoll
impl Sync for WorkflowRuntimePoll
impl Unpin for WorkflowRuntimePoll
impl UnsafeUnpin for WorkflowRuntimePoll
impl UnwindSafe for WorkflowRuntimePoll
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