![]() |
libfilezilla
|
Holds the result of read/write operations. More...
#include <fsresult.hpp>
Classes | |
| union | [union].__unnamed0__ |
Public Types | |
| enum | error { none , invalid , nospace , wouldblock , other } |
| typedef uint32_t | raw_t |
Public Member Functions | |
| rwresult (error e, raw_t raw) | |
| rwresult (error e)=delete | |
| rwresult (size_t value) | |
| operator bool () const | |
Public Attributes | |
| error | error_ {} |
| union | |
Holds the result of read/write operations.
On success, returns the number of bytes read/written.
The raw error code isn't always available. If available, it is the value of errno/GetLastError() when the failure occurred.
| enum error |
| error error_ {} |