post_hook

Attribute Macro post_hook 

Source
#[post_hook]
Expand description

Proc macro that indicates that any code in this function will be run after the original function is called.

The result of calling the original function will be accessible in orig_result.

Note: orig_result will be returned unless you choose to return your own result from this function.