![]() |
Kurlyk
|
Represents the synchronous result of trying to enqueue or submit work. More...
#include <SubmitResult.hpp>
Public Member Functions | |
| operator bool () const | |
| Converts the result to a boolean accepted flag. | |
Public Attributes | |
| bool | accepted = false |
| Indicates whether the work item was accepted for processing. | |
| std::error_code | error_code |
| Describes the rejection reason when accepted is false. | |
Represents the synchronous result of trying to enqueue or submit work.
Definition at line 14 of file SubmitResult.hpp.
|
inlineexplicit |
Converts the result to a boolean accepted flag.
Definition at line 19 of file SubmitResult.hpp.
| bool kurlyk::SubmitResult::accepted = false |
Indicates whether the work item was accepted for processing.
Definition at line 15 of file SubmitResult.hpp.
| std::error_code kurlyk::SubmitResult::error_code |
Describes the rejection reason when accepted is false.
Definition at line 16 of file SubmitResult.hpp.