pub struct ShutdownState {
pub is_shutting_down: AtomicBool,
pub shutdown_complete: AtomicBool,
}Expand description
Shutdown state tracking
Fields§
§is_shutting_down: AtomicBoolWhether shutdown has been initiated
shutdown_complete: AtomicBoolWhether shutdown has completed
Trait Implementations§
Source§impl Debug for ShutdownState
impl Debug for ShutdownState
Source§impl Default for ShutdownState
impl Default for ShutdownState
Source§fn default() -> ShutdownState
fn default() -> ShutdownState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ShutdownState
impl RefUnwindSafe for ShutdownState
impl Send for ShutdownState
impl Sync for ShutdownState
impl Unpin for ShutdownState
impl UnsafeUnpin for ShutdownState
impl UnwindSafe for ShutdownState
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