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