pub struct ShutdownReport { /* private fields */ }Expand description
Summary report returned once a graceful shutdown sequence finishes.
Implementations§
Source§impl ShutdownReport
impl ShutdownReport
pub fn get_drained_cleanly(&self) -> bool
pub fn get_mut_drained_cleanly(&mut self) -> &mut bool
pub fn set_drained_cleanly(&mut self, val: bool) -> &mut Self
pub fn get_remaining_in_flight(&self) -> usize
pub fn get_mut_remaining_in_flight(&mut self) -> &mut usize
pub fn set_remaining_in_flight(&mut self, val: usize) -> &mut Self
pub fn get_completed_callbacks(&self) -> &Vec<String>
pub fn get_mut_completed_callbacks(&mut self) -> &mut Vec<String>
pub fn set_completed_callbacks(&mut self, val: Vec<String>) -> &mut Self
pub fn get_timed_out_callbacks(&self) -> &Vec<String>
pub fn get_mut_timed_out_callbacks(&mut self) -> &mut Vec<String>
pub fn set_timed_out_callbacks(&mut self, val: Vec<String>) -> &mut Self
pub fn get_elapsed_ms(&self) -> u64
pub fn get_mut_elapsed_ms(&mut self) -> &mut u64
pub fn set_elapsed_ms(&mut self, val: u64) -> &mut Self
Trait Implementations§
Source§impl Clone for ShutdownReport
impl Clone for ShutdownReport
Source§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 Forget for ShutdownReport
impl Freeze for ShutdownReport
impl Move for ShutdownReport
impl RefUnwindSafe for ShutdownReport
impl Send for ShutdownReportwhere
RawVecInner: Send,
impl Sync for ShutdownReportwhere
RawVecInner: Sync,
impl Unpin for ShutdownReport
impl UnsafeUnpin for ShutdownReport
impl UnwindSafe for ShutdownReportwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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.