pub struct ShutdownReport {
pub phases: Vec<ShutdownPhaseReport>,
}Expand description
Aggregate report for a shutdown run.
Fields§
§phases: Vec<ShutdownPhaseReport>Phase reports in execution order.
Implementations§
Source§impl ShutdownReport
impl ShutdownReport
Sourcepub fn new(phases: Vec<ShutdownPhaseReport>) -> Self
pub fn new(phases: Vec<ShutdownPhaseReport>) -> Self
Returns a report from phase entries.
Sourcepub fn has_failures(&self) -> bool
pub fn has_failures(&self) -> bool
Returns whether any phase failed or timed out.
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
Source§impl PartialEq for ShutdownReport
impl PartialEq for ShutdownReport
Source§fn eq(&self, other: &ShutdownReport) -> bool
fn eq(&self, other: &ShutdownReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq 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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.