macro_rules! run_hook {
($driver:expr, $point:expr, $ctx:expr) => { ... };
}Expand description
Dispatch a hook call through the slot’s function pointer.
When the rns-hooks feature is enabled in rns-net, this macro is used
at each integration point. When no programs are attached, the noop runner
returns None immediately.
When rns-hooks is not enabled, the call site wraps this in
#[cfg(feature = "rns-hooks")] so it compiles to nothing.