Function take_hook

Source
pub fn take_hook() -> HookFunction
Available on crate feature support_hookfn_trig only.
Expand description

Get a hook function that will be executed in case of undefined behavior of the ManuallyDrop logic.