pub struct TaskResult {
pub task_id: TaskId,
pub success: bool,
pub exit_code: Option<i32>,
pub duration: Duration,
pub cached: bool,
}Expand description
Result of a single task execution.
Fields§
§task_id: TaskIdThe task that was executed.
success: boolWhether the task succeeded.
exit_code: Option<i32>Exit code, if the process exited normally.
duration: DurationDuration of the task execution.
cached: boolWhether the result came from cache.
Trait Implementations§
Source§impl Clone for TaskResult
impl Clone for TaskResult
Source§fn clone(&self) -> TaskResult
fn clone(&self) -> TaskResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze 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