Trait CancellationFlag

Source
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§

Source

fn check(&self, at: &'static str) -> Result<(), CancellationError>

Implementors§