pub struct CompletionCleanupObservation { /* private fields */ }Expand description
Runtime-minted observation for post-completion cleanup.
Cleanup code can inspect this generated-facing observation, but it cannot
rewrite the public CompletionOutcome that the waiter received.
Implementations§
Source§impl CompletionCleanupObservation
impl CompletionCleanupObservation
Sourcepub fn proves_runtime_termination_for(&self, session_id: &SessionId) -> bool
pub fn proves_runtime_termination_for(&self, session_id: &SessionId) -> bool
Return whether this runtime-minted observation proves that session_id
reached the machine-owned runtime-termination completion class.
Cleanup relays use this narrow proof when the machine-owned unregister saga wins the race and removes the runtime registration after the executor’s external-only cleanup, before the completion relay inspects the registry. It must not be replaced with a generic “registration is absent” check: absence alone carries no terminal authority.
Trait Implementations§
Source§impl Clone for CompletionCleanupObservation
impl Clone for CompletionCleanupObservation
Source§fn clone(&self) -> CompletionCleanupObservation
fn clone(&self) -> CompletionCleanupObservation
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 CompletionCleanupObservation
impl Debug for CompletionCleanupObservation
impl Eq for CompletionCleanupObservation
impl StructuralPartialEq for CompletionCleanupObservation
Auto Trait Implementations§
impl Freeze for CompletionCleanupObservation
impl RefUnwindSafe for CompletionCleanupObservation
impl Send for CompletionCleanupObservation
impl Sync for CompletionCleanupObservation
impl Unpin for CompletionCleanupObservation
impl UnsafeUnpin for CompletionCleanupObservation
impl UnwindSafe for CompletionCleanupObservation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.