pub(crate) struct SpawnMeta<'a> {
pub(crate) spawned_at: SpawnLocation,
_pd: PhantomData<&'a ()>,
}Fields§
§spawned_at: SpawnLocationThe source code location where the task was spawned.
This is wrapped in a type that may be empty when tokio_unstable is
not enabled.
_pd: PhantomData<&'a ()>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for SpawnMeta<'a>
impl<'a> RefUnwindSafe for SpawnMeta<'a>
impl<'a> Send for SpawnMeta<'a>
impl<'a> Sync for SpawnMeta<'a>
impl<'a> Unpin for SpawnMeta<'a>
impl<'a> UnwindSafe for SpawnMeta<'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