pub struct ShutdownPhaseReport {
pub name: &'static str,
pub status: ShutdownPhaseStatus,
pub duration: Duration,
}Expand description
Report for one executed shutdown phase.
Fields§
§name: &'static strStable phase name.
status: ShutdownPhaseStatusPhase result.
duration: DurationExecution duration.
Trait Implementations§
Source§impl Clone for ShutdownPhaseReport
impl Clone for ShutdownPhaseReport
Source§fn clone(&self) -> ShutdownPhaseReport
fn clone(&self) -> ShutdownPhaseReport
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 ShutdownPhaseReport
impl Debug for ShutdownPhaseReport
Source§impl PartialEq for ShutdownPhaseReport
impl PartialEq for ShutdownPhaseReport
Source§fn eq(&self, other: &ShutdownPhaseReport) -> bool
fn eq(&self, other: &ShutdownPhaseReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ShutdownPhaseReport
impl StructuralPartialEq for ShutdownPhaseReport
Auto Trait Implementations§
impl Freeze for ShutdownPhaseReport
impl RefUnwindSafe for ShutdownPhaseReport
impl Send for ShutdownPhaseReport
impl Sync for ShutdownPhaseReport
impl Unpin for ShutdownPhaseReport
impl UnsafeUnpin for ShutdownPhaseReport
impl UnwindSafe for ShutdownPhaseReport
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.