Skip to main content

ExecutionHandle

Trait ExecutionHandle 

Source
pub trait ExecutionHandle {
    // Required methods
    fn is_finished(&self) -> bool;
    fn is_cancelled(&self) -> bool;
    fn cancel(&self);
    fn cancellation_token(&self) -> CancellationToken;
    fn handle(self) -> JoinHandle<Result<()>> ;
}

Required Methods§

Implementors§