pub struct TaskName(/* private fields */);Expand description
Name of a task, shown in shutdown reports and diagnostics.
A &'static str is stored without allocating; owned and shared strings
are kept as they are.
Implementations§
Trait Implementations§
impl Eq for TaskName
impl StructuralPartialEq for TaskName
Auto Trait Implementations§
impl Freeze for TaskName
impl RefUnwindSafe for TaskName
impl Send for TaskName
impl Sync for TaskName
impl Unpin for TaskName
impl UnsafeUnpin for TaskName
impl UnwindSafe for TaskName
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