Struct napi_h::AsyncCleanupHook
source · 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§
Auto Trait Implementations§
impl Freeze for AsyncCleanupHook
impl RefUnwindSafe for AsyncCleanupHook
impl !Send for AsyncCleanupHook
impl !Sync for AsyncCleanupHook
impl Unpin 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