Macro wrap

Source
wrap!() { /* proc-macro */ }
Expand description

Wraps a function in concrete Handler struct.

§Example

Assuming handler function handler_foo has been defined by the caller:

wrap!(function_foo)