pub trait AlgorithmInterrupt {
// Required method
fn is_cancelled(&self) -> bool;
}Expand description
Cooperative cancellation source for graph algorithms.
Required Methods§
Sourcefn is_cancelled(&self) -> bool
fn is_cancelled(&self) -> bool
Returns true when the active computation should stop.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".