struct DebugTasks<'d, F>(&'d Data, F);Expand description
Helper: Debugs as a list of tasks, given the Data for lookups and a list of the ids
Tasks in Data are printed as Ti(ID)"SPEC"=FLAGS".
FLAGS are:
-
T: this task is for a Subthread (from subthread_spawn). -
P: this task is being polled (itsTaskFutureInfois absent) -
f: this is a normal task with a future and its future is present inData -
m: this is the main task fromblock_on -
W: the task is awake -
s<n>: the task is asleep, and<n>is the number of recorded sleeping locations
Tuple Fields§
§0: &'d Data§1: FTrait Implementations§
Auto Trait Implementations§
impl<'d, F> Freeze for DebugTasks<'d, F>where
F: Freeze,
impl<'d, F> !RefUnwindSafe for DebugTasks<'d, F>
impl<'d, F> !Send for DebugTasks<'d, F>
impl<'d, F> !Sync for DebugTasks<'d, F>
impl<'d, F> Unpin for DebugTasks<'d, F>where
F: Unpin,
impl<'d, F> UnsafeUnpin for DebugTasks<'d, F>where
F: UnsafeUnpin,
impl<'d, F> !UnwindSafe for DebugTasks<'d, F>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more