pub unsafe trait Exception {
const CLASS: [u8; 8];
// Required methods
fn wrap(this: Self) -> *mut UnwindException;
unsafe fn unwrap(ex: *mut UnwindException) -> Self;
}
Required Associated Constants§
Required Methods§
fn wrap(this: Self) -> *mut UnwindException
unsafe fn unwrap(ex: *mut UnwindException) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.