Attribute Macrosยง
- forward
- post_
hook - Proc macro that indicates that any code in this function will be run after the original function is called.
- pre_
hook - Proc macro that indicates that any code in this function will be run just before the original function is called.
The function being proxied can be accessed as
orig_func
- proxy