[][src]Crate call_trace_macro

Provides the #[trace] macro. See the callback-trace crate for more details.

Attribute Macros

inject_with

The #[inject_with] macro. Needs to be applied to function definitions, and will call a user-provided expression with the function body wrapped in a closure.

trace

The #[trace] macro. Needs to be applied to function definitions, and will invoke callbacks managed by the the callback-trace before and after the functions body.

trace_with

The #[trace_with] macro. Needs to be applied to function definitions, and will call a user-provided expression with the function body wrapped in a closure, and a CallContext parameter.