Trait tasc::BlockingTaskHandle

source ·
pub trait BlockingTaskHandle<T>: TaskHandle<T> {
    // Required method
    fn wait(self) -> Result<T>;
}
Expand description

A handle capable of running a task. When the task is joined, it will block the current thread.

Required Methods§

source

fn wait(self) -> Result<T>

Object Safety§

This trait is not object safe.

Implementors§