patchable

Attribute Macro patchable 

Source
#[patchable]
Expand description

Mark a function as patchable

This transforms the function to use indirection for hot-swapping.

§Example

#[patchable]
fn handle_request(req: Request) -> Response {
    // implementation
}