Struct cfx_tasks::shutdown::GracefulShutdownGuard
source · pub struct GracefulShutdownGuard(/* private fields */);
Expand description
A guard that fires once dropped to signal the
TaskManager
that the GracefulShutdown
has
completed.
Trait Implementations§
source§impl Debug for GracefulShutdownGuard
impl Debug for GracefulShutdownGuard
Auto Trait Implementations§
impl RefUnwindSafe for GracefulShutdownGuard
impl Send for GracefulShutdownGuard
impl Sync for GracefulShutdownGuard
impl Unpin for GracefulShutdownGuard
impl UnwindSafe for GracefulShutdownGuard
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