#[non_exhaustive]pub enum WorkflowWake {
Timer,
Timeout,
Signal {
signal_id: WorkflowSignalId,
name: WorkflowSignalName,
payload: Value,
},
}Expand description
Durable value that caused a suspended workflow to become claimable.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Timer
A store-authoritative timer elapsed.
Timeout
The timeout side of a signal-or-timeout wait won.
Signal
A matching external signal was consumed.
Fields
§
signal_id: WorkflowSignalIdStable publication identity.
§
name: WorkflowSignalNameMatched signal name.
Trait Implementations§
Source§impl Clone for WorkflowWake
impl Clone for WorkflowWake
Source§fn clone(&self) -> WorkflowWake
fn clone(&self) -> WorkflowWake
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 WorkflowWake
impl Debug for WorkflowWake
Source§impl<'de> Deserialize<'de> for WorkflowWake
impl<'de> Deserialize<'de> for WorkflowWake
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 WorkflowWake
impl PartialEq for WorkflowWake
Source§impl Serialize for WorkflowWake
impl Serialize for WorkflowWake
impl StructuralPartialEq for WorkflowWake
Auto Trait Implementations§
impl Freeze for WorkflowWake
impl RefUnwindSafe for WorkflowWake
impl Send for WorkflowWake
impl Sync for WorkflowWake
impl Unpin for WorkflowWake
impl UnsafeUnpin for WorkflowWake
impl UnwindSafe for WorkflowWake
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