pub struct TaskId(pub u32);Expand description
A type-safe, zero-cost wrapper for a cFE Task ID.
Tuple Fields§
§0: u32Implementations§
Source§impl TaskId
impl TaskId
Sourcepub fn info(&self) -> Result<TaskInfo>
pub fn info(&self) -> Result<TaskInfo>
Retrieves detailed information about the task with this ID.
Sourcepub fn delete(&self) -> Result<()>
pub fn delete(&self) -> Result<()>
Deletes a child task with this ID.
This function is a standalone wrapper for CFE_ES_DeleteChildTask. Using the
ChildTask RAII struct is generally preferred to ensure the task is always deleted.
It must not be called for an Application’s Main Task.
Trait Implementations§
impl Copy for TaskId
impl Eq for TaskId
impl StructuralPartialEq for TaskId
Auto Trait Implementations§
impl Freeze for TaskId
impl RefUnwindSafe for TaskId
impl Send for TaskId
impl Sync for TaskId
impl Unpin for TaskId
impl UnsafeUnpin for TaskId
impl UnwindSafe for TaskId
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