Struct r3::kernel::task::TaskDefiner

source ·
pub struct TaskDefiner<System> { /* private fields */ }
Expand description

The definer (static builder) for TaskRef.

Implementations

[Required] Specify the task’s entry point.

Specify the task’s stack size.

[Required] Specify the task’s initial base priority. Tasks with lower priority values execute first. The value must be in range 0..num_task_priority_levels.

Specify whether the task should be activated at system startup. Defaults to false (don’t activate).

Complete the definition of a task, returning a reference to the task.

Trait Implementations

Use the specified function as the entry point of the executable object being defined. Read more

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
Use the specified function with dependency as the entry point of the executable object being defined. 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.