pub struct TaskResult {
pub outcome: Outcome,
pub work: BTreeMap<String, u64>,
}Expand description
What Prepared::solve returns for one task.
Fields§
§outcome: OutcomeThe task’s outcome. It must pass Outcome::check; otherwise the
attempt fails before the record reaches the journal.
work: BTreeMap<String, u64>Named work counters of the task, such as evaluations.
Auto Trait Implementations§
impl Forget for TaskResult
impl Freeze for TaskResult
impl Move for TaskResult
impl RefUnwindSafe for TaskResult
impl Send for TaskResult
impl Sync for TaskResult
impl Unpin for TaskResult
impl UnsafeUnpin for TaskResult
impl UnwindSafe for TaskResult
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