pub struct AsyncCleanupHook(/* private fields */);Expand description
Notice
The hook will be removed if AsyncCleanupHook was dropped.
If you want keep the hook until node process exited, call the AsyncCleanupHook::forget.
Implementations§
Trait Implementations§
Source§impl Drop for AsyncCleanupHook
impl Drop for AsyncCleanupHook
Auto Trait Implementations§
impl !Send for AsyncCleanupHook
impl !Sync for AsyncCleanupHook
impl Freeze for AsyncCleanupHook
impl RefUnwindSafe for AsyncCleanupHook
impl Unpin for AsyncCleanupHook
impl UnsafeUnpin for AsyncCleanupHook
impl UnwindSafe for AsyncCleanupHook
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