Skip to main content

set_hook

Function set_hook 

Source
pub fn set_hook(config: Option<HookConfig>)
Available on crate feature hook only.
Expand description

Set the hook with optional config. If config is None, the hook is disabled.