pub struct ExecutionControl { /* private fields */ }Expand description
The owning runtime’s bounded observation of one durable execution control.
Implementations§
Source§impl ExecutionControl
impl ExecutionControl
Sourcepub const fn execution(&self) -> &JobExecution
pub const fn execution(&self) -> &JobExecution
Borrows the durable execution snapshot after the observation.
Sourcepub const fn owner_matches(&self) -> bool
pub const fn owner_matches(&self) -> bool
Returns whether the complete durable token matched this process.
Sourcepub const fn stop_requested(&self) -> bool
pub const fn stop_requested(&self) -> bool
Returns whether a durable stop request was observed.
Trait Implementations§
Source§impl Clone for ExecutionControl
impl Clone for ExecutionControl
Source§fn clone(&self) -> ExecutionControl
fn clone(&self) -> ExecutionControl
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 ExecutionControl
impl Debug for ExecutionControl
impl Eq for ExecutionControl
Source§impl PartialEq for ExecutionControl
impl PartialEq for ExecutionControl
impl StructuralPartialEq for ExecutionControl
Auto Trait Implementations§
impl Freeze for ExecutionControl
impl RefUnwindSafe for ExecutionControl
impl Send for ExecutionControl
impl Sync for ExecutionControl
impl Unpin for ExecutionControl
impl UnsafeUnpin for ExecutionControl
impl UnwindSafe for ExecutionControl
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