pub struct ShutdownStatus {
pub shutting_down: bool,
pub in_flight: usize,
pub completed: bool,
}Expand description
Shutdown status
Fields§
§shutting_down: boolIs shutdown initiated?
in_flight: usizeNumber of in-flight requests
completed: boolIs shutdown complete?
Trait Implementations§
Source§impl Clone for ShutdownStatus
impl Clone for ShutdownStatus
Source§fn clone(&self) -> ShutdownStatus
fn clone(&self) -> ShutdownStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ShutdownStatus
impl RefUnwindSafe for ShutdownStatus
impl Send for ShutdownStatus
impl Sync for ShutdownStatus
impl Unpin for ShutdownStatus
impl UnwindSafe for ShutdownStatus
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