Expand description

fn_instrumentation provides utilities for instrumenting function calls during unit tests.

Structs

  • This is a structure which contains the state relating to instrumenting a function. The idea is that you would mutate it via its member functions to e.g. record information about a function call. Because it has internal synchronization, this can be done without retaining a mutable reference.