pub trait BootTrapHandler {
// Required method
fn handle(exception: &BootException);
}Expand description
Early exception policy supplied by the boot owner. The callback may run before runtime CPU-local, TLS or scheduling exists.
Required Methods§
Sourcefn handle(exception: &BootException)
fn handle(exception: &BootException)
Reports or handles the copied exception without retaining stack references. Returning resumes the unchanged saved machine context. A fatal handler must use the boot owner’s diagnostics without depending on runtime state.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".