Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::AwaitSocketSendAwaiter Struct Reference

Awaiter for a single AsyncSocketSend operation. More...

#include <Await.h>

Public Member Functions

 AwaitSocketSendAwaiter (AwaitEventLoop &await, const SocketDescriptor &socket, Span< const char > data, AwaitSocketSendResult *outResult)
 
 AwaitSocketSendAwaiter (AwaitEventLoop &await, const SocketDescriptor &socket, Span< Span< const char > > data, AwaitSocketSendResult *outResult)
 
bool await_ready () const
 
bool await_suspend (AwaitTask::Handle continuation)
 
Result await_resume ()
 

Public Attributes

AwaitEventLoopawait
 
const SocketDescriptorsocket
 
Span< const char > data
 
Span< Span< const char > > buffers
 
AwaitSocketSendResultoutResult = nullptr
 
AsyncSocketSend request
 
Result operationResult = Result(true)
 
bool singleBuffer = true
 

Detailed Description

Awaiter for a single AsyncSocketSend operation.


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