Skip to main content

fail_point_send

Macro fail_point_send 

Source
macro_rules! fail_point_send {
    ($fp_tx:expr, $name:expr) => { ... };
    ($fp_tx:expr, $name:expr, $e:expr) => { ... };
}
Expand description

Emit an event and evaluate a failpoint (requires the failpoints feature).

The first argument must be a FailPointTx and the second is the failpoint name. An optional third argument is an early-return closure accepted by fail_point!.