Skip to main content

Executor

Trait Executor 

Source
pub trait Executor {
    // Required method
    fn join(self) -> Vec<Result<()>> ;
}
Expand description

A trait representing a running executor

Required Methods§

Source

fn join(self) -> Vec<Result<()>>

Similar to the standard join, except that there can be several threads which must all return ().

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§