pub trait CancellationFlag: Sync {
// Required method
fn check(&self, at: &'static str) -> Result<(), CancellationError>;
}
Expand description
Trait to signal that the execution is cancelled
pub trait CancellationFlag: Sync {
// Required method
fn check(&self, at: &'static str) -> Result<(), CancellationError>;
}
Trait to signal that the execution is cancelled