pub trait CallBackFunc: Send + Sync {
// Required method
fn call(&self, trap_frame: &mut PtRegs);
}Expand description
The callback function type for events.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".