Attribute Macros§
- catch_
panic - Wraps a function body with
std::panic::catch_unwindto ensure that panics won’t unwind accross the ffi boundary. The macro argument should be the return value of the function in case of panic, or no argument if it returns void.