pub struct TaskMeta<'a> { /* private fields */ }
Available on crate feature
rt
and tokio_unstable
only.Expand description
Task metadata supplied to user-provided hooks for task events.
Note: This is an unstable API. The public API of this type
may break in 1.x releases. See the documentation on unstable
features for details.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TaskMeta<'a>
impl<'a> RefUnwindSafe for TaskMeta<'a>
impl<'a> Send for TaskMeta<'a>
impl<'a> Sync for TaskMeta<'a>
impl<'a> Unpin for TaskMeta<'a>
impl<'a> UnwindSafe for TaskMeta<'a>
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