Struct pal_async::task::TaskMetadata
source · pub struct TaskMetadata { /* private fields */ }
Expand description
Metadata about a spawned task.
This can be accessed via [Task::metadata()
], [Runnable::metadata()
], or
with_current_task_metadata()
.
Implementations§
Trait Implementations§
source§impl Debug for TaskMetadata
impl Debug for TaskMetadata
Auto Trait Implementations§
impl !Freeze for TaskMetadata
impl !RefUnwindSafe for TaskMetadata
impl Send for TaskMetadata
impl Sync for TaskMetadata
impl !Unpin for TaskMetadata
impl !UnwindSafe for TaskMetadata
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