pub trait CancellationFlag {
// Required method
fn check(&self, at: &'static str) -> Result<(), CancellationError>;
}Expand description
Trait to signal that the execution is cancelled
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".