Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::database::MongoClient::InsertAwaiter Struct Reference

#include <MongoClient.hpp>

Collaboration diagram for orbit::database::MongoClient::InsertAwaiter:

Public Member Functions

bool await_ready () const
 
void await_suspend (std::coroutine_handle<> h)
 
bool await_resume ()
 

Public Attributes

MongoClient & client
 
std::string doc_json
 
bool success {false}
 
std::string error_msg
 
std::coroutine_handle coro
 

Member Function Documentation

◆ await_ready()

bool orbit::database::MongoClient::InsertAwaiter::await_ready ( ) const
inline

◆ await_resume()

bool orbit::database::MongoClient::InsertAwaiter::await_resume ( )

◆ await_suspend()

void orbit::database::MongoClient::InsertAwaiter::await_suspend ( std::coroutine_handle<>  h)

Member Data Documentation

◆ client

MongoClient& orbit::database::MongoClient::InsertAwaiter::client

◆ coro

std::coroutine_handle orbit::database::MongoClient::InsertAwaiter::coro

◆ doc_json

std::string orbit::database::MongoClient::InsertAwaiter::doc_json

◆ error_msg

std::string orbit::database::MongoClient::InsertAwaiter::error_msg

◆ success

bool orbit::database::MongoClient::InsertAwaiter::success {false}

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