pub struct ThreadPoolExecutor<EH: ErrorHandler> { /* private fields */ }
Expand description

The default executor used. It creates an internal thread pool, and each call to a Rust function is handled by a different thread.

Implementations

Create a new executor backed by a thread pool.

Trait Implementations

Executes a Rust function and transforms its return value into a Dart-compatible value, i.e. types that implement IntoDart. Read more

Executes a Rust function that returns a SyncReturn.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.