Crate task_struct
source ·Expand description
Structs
- Just like
core::panic::PanicInfo, but with owned String types instead of &str references. - A struct holding data items needed to restart a
Task. - A structure that contains contextual information for a thread of execution.
- The parts of a
Taskthat may be modified after its creation.
Enums
- The two ways a
Taskcan exit, including possible return values and conditions. - The states used to initialize a new
Taskwhen creating it; seeTask::new(). - The list of possible reasons that a given
Taskwas killed prematurely. - The set of possible runstates that a
Taskcan be in.
Type Aliases
- The function signature of the callback that will be invoked when a
Taskpanics or otherwise fails, e.g., a machine exception occurs.