SocketResultOk¶
The socket operation completed. For send/writev, the runtime accepted some bytes; for recv, bytes were read into the supplied buffer. The accompanying count is the number of bytes handled. The operation is synchronous and non-blocking on every platform (the Windows backend uses readiness notifications, not overlapped IOCP), so the count is always the bytes transferred by this call.
Constructors¶
create¶
Returns¶
- SocketResultOk val^
Public Functions¶
apply¶
Returns¶
- U8 val
eq¶
Parameters¶
- that: SocketResultOk val
Returns¶
- Bool val
ne¶
Parameters¶
- that: SocketResultOk val
Returns¶
- Bool val