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
Task
that may be modified after its creation.
Enums
- The two ways a
Task
can exit, including possible return values and conditions. - The states used to initialize a new
Task
when creating it; seeTask::new()
. - The list of possible reasons that a given
Task
was killed prematurely. - The set of possible runstates that a
Task
can be in.
Type Aliases
- The function signature of the callback that will be invoked when a
Task
panics or otherwise fails, e.g., a machine exception occurs.