Skip to main content

assert_unwind_safe

Function assert_unwind_safe 

Source
pub const fn assert_unwind_safe<T: UnwindSafe>()
Expand description

Asserts at compile time that T implements UnwindSafe.

The generic bound supplies the assertion, and the function performs no runtime work.