pub struct ClaimedWorkflow {
pub task: WorkflowTask,
pub lease: WorkflowLease,
pub wake: Option<WorkflowWake>,
}Expand description
A workflow task and its fenced worker lease.
Fields§
§task: WorkflowTaskDurable task definition.
lease: WorkflowLeaseCurrent fenced ownership.
wake: Option<WorkflowWake>Durable wake value retained across lease takeover until the next wait.
Trait Implementations§
Source§impl Clone for ClaimedWorkflow
impl Clone for ClaimedWorkflow
Source§fn clone(&self) -> ClaimedWorkflow
fn clone(&self) -> ClaimedWorkflow
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 ClaimedWorkflow
impl Debug for ClaimedWorkflow
Source§impl PartialEq for ClaimedWorkflow
impl PartialEq for ClaimedWorkflow
impl StructuralPartialEq for ClaimedWorkflow
Auto Trait Implementations§
impl Freeze for ClaimedWorkflow
impl RefUnwindSafe for ClaimedWorkflow
impl Send for ClaimedWorkflow
impl Sync for ClaimedWorkflow
impl Unpin for ClaimedWorkflow
impl UnsafeUnpin for ClaimedWorkflow
impl UnwindSafe for ClaimedWorkflow
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