pub struct TaskProp {
pub name: String<{ _ }>,
pub creator: OsalId,
pub stack_size: usize,
pub priority: u8,
}Expand description
Properties of an OSAL task, returned by Task::get_info.
Fields§
§name: String<{ _ }>The registered name of the task.
creator: OsalIdThe OSAL ID of the task that created this task.
stack_size: usizeThe allocated stack size of the task in bytes.
priority: u8The priority of the task (0=highest, 255=lowest).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskProp
impl RefUnwindSafe for TaskProp
impl Send for TaskProp
impl Sync for TaskProp
impl Unpin for TaskProp
impl UnsafeUnpin for TaskProp
impl UnwindSafe for TaskProp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more