Struct bern_kernel::task::TaskBuilder[][src]

pub struct TaskBuilder { /* fields omitted */ }
Expand description

Builder to create a new task

Implementations

Add a static stack to the task.

Set task priority.

This task will replace the default idle task.

Spawns the task and takes the entry point as closure.

Note: A task cannot access another tasks stack, thus all stack initialization must be handled via syscalls.

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

Performs the conversion.

Performs the conversion.

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.