pub struct Followed {
pub task: Task,
pub finished: bool,
}Expand description
How a followed task ended up.
Fields§
§task: TaskThe task as last read.
finished: boolFalse when max_wait ran out first: the loop still owns the task and
nothing is known of its outcome yet.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Followed
impl Freeze for Followedwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Input>: Freeze,
PhantomData<Reassignment>: Freeze,
PhantomData<CompletionEvent>: Freeze,
NonZero<usize>: Freeze,
PhantomData<String>: Freeze,
PhantomData<StartupFailure>: Freeze,
PhantomData<AnsweredQuestion>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
PhantomData<Receipt>: Freeze,
PhantomData<Receipt>: Freeze,
PhantomData<Resumption>: Freeze,
*const SourceProof is !null: Freeze,
PhantomData<SourceProof>: Freeze,
PhantomData<TaskPass>: Freeze,
PhantomData<RecoveryBudget>: Freeze,
impl Move for Followed
impl RefUnwindSafe for Followed
impl Send for Followed
impl Sync for Followed
impl Unpin for Followed
impl UnsafeUnpin for Followedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Input>: UnsafeUnpin,
PhantomData<Reassignment>: UnsafeUnpin,
PhantomData<CompletionEvent>: UnsafeUnpin,
NonZeroUsizeInner: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<StartupFailure>: UnsafeUnpin,
PhantomData<AnsweredQuestion>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
PhantomData<Receipt>: UnsafeUnpin,
PhantomData<Receipt>: UnsafeUnpin,
PhantomData<Resumption>: UnsafeUnpin,
*const SourceProof is !null: UnsafeUnpin,
PhantomData<SourceProof>: UnsafeUnpin,
PhantomData<TaskPass>: UnsafeUnpin,
PhantomData<RecoveryBudget>: UnsafeUnpin,
impl UnwindSafe for Followedwhere
RawVecInner: UnwindSafe,
NonZero<usize>: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BoxRaw<SourceProof>: UnwindSafe,
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
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