pub trait WrsHandler {
// Provided methods
fn handle_wrs_nto(&mut self) { ... }
fn handle_wrs_sto(&mut self) { ... }
}Expand description
Custom handler for Zawrs extension’s wrs.nto/wrs.sto instructions.
These are hint instructions that may complete for any reason, so a no-op is a valid implementation for both.
Provided Methods§
Sourcefn handle_wrs_nto(&mut self)
fn handle_wrs_nto(&mut self)
Handle a wrs.nto instruction (Wait-on-Reservation-Set, no timeout)
Sourcefn handle_wrs_sto(&mut self)
fn handle_wrs_sto(&mut self)
Handle a wrs.sto instruction (Wait-on-Reservation-Set, short timeout)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".