|
Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
|
Fallback Result<T> implementation. More...
#include <thread_pool_adapter.h>

Public Member Functions | |
| result_type (T &&value) | |
| result_type (const T &value) | |
| result_type (const std::string &error) | |
| bool | is_ok () const |
| bool | has_error () const |
| const T & | value () const |
| T & | value () |
| const std::string & | error () const |
Private Attributes | |
| T | value_ |
| std::string | error_ |
| bool | has_value_ |
Fallback Result<T> implementation.
Definition at line 176 of file thread_pool_adapter.h.
|
inline |
Definition at line 178 of file thread_pool_adapter.h.
|
inline |
Definition at line 179 of file thread_pool_adapter.h.
|
inline |
Definition at line 180 of file thread_pool_adapter.h.
|
inline |
Definition at line 188 of file thread_pool_adapter.h.
References database::async::result_type< T >::error_.
|
inline |
Definition at line 183 of file thread_pool_adapter.h.
References database::async::result_type< T >::has_value_.
|
inline |
Definition at line 182 of file thread_pool_adapter.h.
References database::async::result_type< T >::has_value_.
|
inline |
Definition at line 186 of file thread_pool_adapter.h.
References database::async::result_type< T >::value_.
|
inline |
Definition at line 185 of file thread_pool_adapter.h.
References database::async::result_type< T >::value_.
|
private |
Definition at line 192 of file thread_pool_adapter.h.
Referenced by database::async::result_type< T >::error().
|
private |
Definition at line 193 of file thread_pool_adapter.h.
Referenced by database::async::result_type< T >::has_error(), and database::async::result_type< T >::is_ok().
|
private |
Definition at line 191 of file thread_pool_adapter.h.
Referenced by database::async::result_type< T >::value(), and database::async::result_type< T >::value().