Skip to main content

TaskHandle

Trait TaskHandle 

Source
pub trait TaskHandle {
    // Required method
    fn join(self);
}
Expand description

A handle for a task which was pushed to a task pool.

Required Methods§

Source

fn join(self)

Wait for the task to complete.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TaskHandle for ()

Source§

fn join(self)

Source§

impl TaskHandle for Infallible

Source§

fn join(self)

Implementors§