pub struct WorkExecutionMachine;Implementations§
Source§impl WorkExecutionMachine
impl WorkExecutionMachine
pub fn recover_effect( binding: &WorkExecutionBinding, ) -> Result<WorkExecutionLifecycleEffect, WorkGraphError>
pub fn bind( binding_id: &WorkExecutionBindingId, run_id: &str, ) -> Result<(WorkExecutionMachineState, WorkExecutionLifecycleEffect), WorkGraphError>
pub fn observe( binding: WorkExecutionBinding, expected_revision: u64, observation: WorkExecutionObservation, ) -> Result<(WorkExecutionBinding, WorkExecutionLifecycleEffect), WorkGraphError>
pub fn validate_projection( binding: &WorkExecutionBinding, ) -> Result<(), WorkGraphError>
Sourcepub fn retry_eligible(
binding: &WorkExecutionBinding,
) -> Result<bool, WorkGraphError>
pub fn retry_eligible( binding: &WorkExecutionBinding, ) -> Result<bool, WorkGraphError>
The lifecycle authority’s single retry/supersession classifier.
Trait Implementations§
Source§impl Clone for WorkExecutionMachine
impl Clone for WorkExecutionMachine
Source§fn clone(&self) -> WorkExecutionMachine
fn clone(&self) -> WorkExecutionMachine
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 moreimpl Copy for WorkExecutionMachine
Source§impl Debug for WorkExecutionMachine
impl Debug for WorkExecutionMachine
Source§impl Default for WorkExecutionMachine
impl Default for WorkExecutionMachine
Source§fn default() -> WorkExecutionMachine
fn default() -> WorkExecutionMachine
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkExecutionMachine
impl RefUnwindSafe for WorkExecutionMachine
impl Send for WorkExecutionMachine
impl Sync for WorkExecutionMachine
impl Unpin for WorkExecutionMachine
impl UnsafeUnpin for WorkExecutionMachine
impl UnwindSafe for WorkExecutionMachine
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