pub trait ErrorRuntime: Sealed {
// Required method
unsafe fn set_error_object(&self, error_code: i32, old_top: TValueCursor);
}Expand description
Unstable VM error-state capability.
§Safety
The thread must be live, and every cursor must address its current stack. Callers must preserve the stack shape required by the error protocol.
Required Methods§
unsafe fn set_error_object(&self, error_code: i32, old_top: TValueCursor)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".