Callback result for AsyncFileWrite. More...
#include <Async.h>
Public Member Functions | |
SC::Result | get (size_t &writtenSizeInBytes) |
Public Member Functions inherited from SC::AsyncResultOf< AsyncFileWrite, CompletionData > | |
AsyncFileWrite & | getAsync () |
const AsyncFileWrite & | getAsync () const |
AsyncResult (AsyncRequest &request, SC::Result &&res) | |
Constructs an async result from a request and a result. More... | |
AsyncResult (AsyncRequest &request) | |
Constructs an async result from a request. More... | |
Public Member Functions inherited from SC::AsyncResult | |
AsyncResult (AsyncRequest &request, SC::Result &&res) | |
Constructs an async result from a request and a result. More... | |
AsyncResult (AsyncRequest &request) | |
Constructs an async result from a request. More... | |
void | reactivateRequest (bool value) |
Ask the event loop to re-activate this request after it was already completed. More... | |
const SC::Result & | isValid () const |
Check if the returnCode of this result is valid. More... | |
Additional Inherited Members | |
Public Attributes inherited from SC::AsyncResultOf< AsyncFileWrite, CompletionData > | |
CompletionData | completionData |
Public Attributes inherited from SC::AsyncResult | |
AsyncRequest & | async |
Protected Attributes inherited from SC::AsyncResult | |
bool | shouldBeReactivated = false |
bool | shouldCallCallback = true |
SC::Result | returnCode = SC::Result(true) |
Callback result for AsyncFileWrite.