game_launcher 1.1.0
Modern Linux game launcher with Steam / Proton / Wine integration
Loading...
Searching...
No Matches
TaskResult Struct Reference

Result of a task execution. More...

#include <task_scheduler.h>

Public Attributes

std::chrono::milliseconds duration {0}
std::optional< std::string > errorDetails
std::string message
bool success = true

Detailed Description

Result of a task execution.

Definition at line 68 of file task_scheduler.h.

Member Data Documentation

◆ duration

std::chrono::milliseconds TaskResult::duration {0}

Definition at line 72 of file task_scheduler.h.

Referenced by TaskScheduler::Impl::executeTask().

◆ errorDetails

std::optional<std::string> TaskResult::errorDetails

Definition at line 73 of file task_scheduler.h.

Referenced by TaskScheduler::Impl::executeTask().

◆ message

std::string TaskResult::message

Definition at line 71 of file task_scheduler.h.

Referenced by TaskScheduler::Impl::executeTask().

◆ success

bool TaskResult::success = true

Definition at line 70 of file task_scheduler.h.

Referenced by TaskScheduler::Impl::executeTask().


The documentation for this struct was generated from the following file: