[−][src]Struct r3::kernel::TaskAttr
The static properties of a task.
Fields
entry_point: unsafe fn(_: usize)
The entry point of the task.
Safety
This is only meant to be used by a kernel port, as a task entry point, not by user code. Using this in other ways may cause an undefined behavior.
entry_param: usize
The parameter supplied for entry_point
.
stack: StackHunk<System>
The hunk representing the stack region for the task.
priority: TaskPriority
The initial base priority of the task.
Trait Implementations
Auto Trait Implementations
impl<System, TaskPriority> Send for TaskAttr<System, TaskPriority> where
System: Send,
TaskPriority: Send,
[src]
System: Send,
TaskPriority: Send,
impl<System, TaskPriority> Sync for TaskAttr<System, TaskPriority> where
TaskPriority: Sync,
[src]
TaskPriority: Sync,
impl<System, TaskPriority> Unpin for TaskAttr<System, TaskPriority> where
System: Unpin,
TaskPriority: Unpin,
[src]
System: Unpin,
TaskPriority: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,