pub enum TaskExecutionReason {
Root,
OutputNotAvailable,
CellNotAvailable,
Invalidated,
ActivateDirty,
ActivateInitial,
Connect,
Stale,
}Variants§
Root
A root task was initially scheduled and is executed
OutputNotAvailable
A task output was read, but the output is not available, so the task was scheduled and executed to produce the output
CellNotAvailable
A task cell was read, but the cell content is not available, so the task was scheduled and executed to produce the cell content
Invalidated
A task was marked as dirty and is active on it’s own (maybe root or currently awaited), so it was scheduled and executed to update the task output
ActivateDirty
A dirty task has been activated, so it was scheduled and executed to update the task output
ActivateInitial
A task has been activated for the first time (no output yet), so it was scheduled and executed to produce the task output
Connect
A task was connected as child in active_tracking == false mode for the first time (no
output yet), so it was scheduled and executed to produce the task output.
Or a task was called inside of a turbo_tasks::run closure for the first time (no output
yet), so it was scheduled and executed to produce the task output.
Stale
An in-progress task was marked as stale, so it was scheduled again after execution and is executing again to update the task output.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskExecutionReason
impl RefUnwindSafe for TaskExecutionReason
impl Send for TaskExecutionReason
impl Sync for TaskExecutionReason
impl Unpin for TaskExecutionReason
impl UnsafeUnpin for TaskExecutionReason
impl UnwindSafe for TaskExecutionReason
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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> ⓘ
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> ⓘ
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