pub unsafe fn task_opt_callbacks<FBefore, FEnter, FExit, FAfter>(
f_before: FBefore,
f_enter: FEnter,
f_exit: FExit,
f_after: FAfter,
) -> boolExpand description
Attempts to install process-wide task callbacks.
Uses the callback lifecycle described by task_callbacks. Returns true
if this call installs the callbacks, or false if another registration has
already won. Installed callbacks cannot be replaced or removed.
ยงSafety
The pointer lifetimes and callback thread-safety requirements of
task_callbacks apply.