pub struct StoppedTask<T> {
pub index: Index,
pub name: SharedString,
pub result: T,
}Expand description
Information about a stopped task.
Fields§
§index: IndexThe index of the task.
name: SharedStringThe name of the task, if any.
result: TThe result of the task.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for StoppedTask<T>where
T: Freeze,
impl<T> RefUnwindSafe for StoppedTask<T>where
T: RefUnwindSafe,
impl<T> Send for StoppedTask<T>where
T: Send,
impl<T> Sync for StoppedTask<T>where
T: Sync,
impl<T> Unpin for StoppedTask<T>where
T: Unpin,
impl<T> UnwindSafe for StoppedTask<T>where
T: 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