pub trait WorkControl:
Debug
+ Send
+ Sync {
// Required method
fn proceed(&self) -> bool;
}Expand description
An optional cooperative work checkpoint. A false result only interrupts the machine; the caller must classify its own actual run authority.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".