Skip to main content

assert_ref_unwind_safe

Function assert_ref_unwind_safe 

Source
pub const fn assert_ref_unwind_safe<T: RefUnwindSafe>()
Expand description

Asserts at compile time that T implements RefUnwindSafe.

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