#[non_exhaustive]pub struct ShutdownReport { /* private fields */ }Expand description
Immutable redacted result shared by every shutdown caller.
Implementations§
Source§impl ShutdownReport
impl ShutdownReport
Sourcepub const fn plan_id(&self) -> ShutdownPlanId
pub const fn plan_id(&self) -> ShutdownPlanId
Returns the accepted plan identifier.
Sourcepub const fn active_turn_policy(&self) -> ActiveTurnPolicy
pub const fn active_turn_policy(&self) -> ActiveTurnPolicy
Returns the first accepted active-turn policy.
Sourcepub const fn deadline_exhausted(&self) -> bool
pub const fn deadline_exhausted(&self) -> bool
Reports whether the one total deadline was exhausted.
Sourcepub const fn active_turn(&self) -> ShutdownActiveTurnOutcome
pub const fn active_turn(&self) -> ShutdownActiveTurnOutcome
Returns the redacted active-turn outcome.
Sourcepub const fn durable_reconciliation(&self) -> ShutdownDurableOutcome
pub const fn durable_reconciliation(&self) -> ShutdownDurableOutcome
Returns the redacted durable reconciliation outcome.
Sourcepub fn finalizers(&self) -> &[ShutdownFinalizerReport]
pub fn finalizers(&self) -> &[ShutdownFinalizerReport]
Returns the fixed ordered runtime-owned finalizer outcomes.
Sourcepub const fn actor(&self) -> ShutdownActorOutcome
pub const fn actor(&self) -> ShutdownActorOutcome
Returns the actor join/containment outcome.
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Returns true only when every shutdown stage completed cleanly.
Trait Implementations§
Source§impl Clone for ShutdownReport
impl Clone for ShutdownReport
Source§fn clone(&self) -> ShutdownReport
fn clone(&self) -> ShutdownReport
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 ShutdownReport
impl Debug for ShutdownReport
impl Eq for ShutdownReport
Source§impl PartialEq for ShutdownReport
impl PartialEq for ShutdownReport
impl StructuralPartialEq for ShutdownReport
Auto Trait Implementations§
impl Freeze for ShutdownReport
impl RefUnwindSafe for ShutdownReport
impl Send for ShutdownReport
impl Sync for ShutdownReport
impl Unpin for ShutdownReport
impl UnsafeUnpin for ShutdownReport
impl UnwindSafe for ShutdownReport
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,
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.