pub struct ThreadBuilder { /* private fields */ }
Expand description

Builder to create a new task

Implementations

Set stack size.

Set task priority.

This task will replace the default idle task.

Give the thread a name.

Spawns the task and takes the entry point as closure.

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.