#[repr(transparent)]pub struct TaskHandle(pub Handle);Expand description
Handle to a task (unit of concurrent execution).
Tasks are analogous to seL4 TCBs (Thread Control Blocks). Each task has:
- An entry point (RVF component)
- A capability set (what resources it can access)
- A scheduling priority
- An optional hard deadline
Tuple Fields§
§0: HandleImplementations§
Source§impl TaskHandle
impl TaskHandle
Trait Implementations§
Source§impl Clone for TaskHandle
impl Clone for TaskHandle
Source§fn clone(&self) -> TaskHandle
fn clone(&self) -> TaskHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaskHandle
impl Debug for TaskHandle
Source§impl Default for TaskHandle
impl Default for TaskHandle
Source§impl Hash for TaskHandle
impl Hash for TaskHandle
Source§impl PartialEq for TaskHandle
impl PartialEq for TaskHandle
impl Copy for TaskHandle
impl Eq for TaskHandle
impl StructuralPartialEq for TaskHandle
Auto Trait Implementations§
impl Freeze for TaskHandle
impl RefUnwindSafe for TaskHandle
impl Send for TaskHandle
impl Sync for TaskHandle
impl Unpin for TaskHandle
impl UnsafeUnpin for TaskHandle
impl UnwindSafe for TaskHandle
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