handler

Function handler 

Source
fn handler(
    name: &'static str,
    handler_fn: impl Fn(&Config, &DirectiveLine<'_>, &mut TestProps) + Send + Sync + 'static,
) -> NamedHandler
Expand description

Helper function to create a simple handler, so that changes can be made to the handler struct without disturbing existing handler declarations.