| 591 | |
| 592 | template <__movable_value _Error> |
| 593 | constexpr void set_error(_Error&& __err) noexcept |
| 594 | { |
| 595 | auto& __state = *__state_; |
| 596 | std::unique_lock __guard{__state.__mutex_}; |
| 597 | __save_completion(set_error_t(), static_cast<_Error&&>(__err)); |
| 598 | __dispatch_result_(__guard); |
| 599 | } |
| 600 | |
| 601 | constexpr void set_stopped() noexcept |
| 602 | { |
no test coverage detected