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

Awaiter that reactivates AsyncSocketReceive until the whole caller buffer is filled. More...

#include <Await.h>

Public Member Functions

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

Public Attributes

AwaitEventLoopawait
 
const SocketDescriptorsocket
 
Span< char > buffer
 
AwaitSocketReceiveResultoutResult = nullptr
 
AsyncSocketReceive request
 
Result operationResult = Result(true)
 
size_t numBytesReceived = 0
 

Detailed Description

Awaiter that reactivates AsyncSocketReceive until the whole caller buffer is filled.


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