pub struct TaskInfo {
    pub name: &'static str,
    pub priority: u32,
    pub stack_base: usize,
    pub stack_size: usize,
}
Expand description

Task info block.

Fields

name: &'static str

Names as static string.

priority: u32

Task priority number.

stack_base: usize

Start address of the stack.

stack_size: usize

Size of the stack in bytes.

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.