Struct napi::AsyncCleanupHook
source · [−]#[repr(transparent)]pub struct AsyncCleanupHook(_);
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 RefUnwindSafe for AsyncCleanupHook
impl !Send for AsyncCleanupHook
impl !Sync for AsyncCleanupHook
impl Unpin for AsyncCleanupHook
impl UnwindSafe for AsyncCleanupHook
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more