pub struct ShutdownGuard { /* private fields */ }Expand description
RAII guard representing one active unit of in-flight work tracked by ShutdownCoordinator.
Trait Implementations§
Source§impl Drop for ShutdownGuard
Drop implementation for ShutdownGuard.
impl Drop for ShutdownGuard
Drop implementation for ShutdownGuard.
Auto Trait Implementations§
impl !RefUnwindSafe for ShutdownGuard
impl !UnwindSafe for ShutdownGuard
impl Forget for ShutdownGuard
impl Freeze for ShutdownGuardwhere
*const ArcInner<ShutdownShard> is !null: Freeze,
PhantomData<ArcInner<ShutdownShard>>: Freeze,
impl Move for ShutdownGuard
impl Send for ShutdownGuard
impl Sync for ShutdownGuard
impl Unpin for ShutdownGuard
impl UnsafeUnpin for ShutdownGuardwhere
*const ArcInner<ShutdownShard> is !null: UnsafeUnpin,
PhantomData<ArcInner<ShutdownShard>>: UnsafeUnpin,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendSync for T
impl<T> AnySync 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