Skip to content

SocketResultError

[Source]

An unrecoverable error occurred, or the peer closed the connection (POSIX recv returning 0 is mapped here so the runtime never reports OK with a 0-byte read). The socket should be closed.

primitive val SocketResultError

Constructors

create

[Source]

new val create()
: SocketResultError val^

Returns


Public Functions

apply

[Source]

fun box apply()
: U8 val

Returns


eq

[Source]

fun box eq(
  that: SocketResultError val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: SocketResultError val)
: Bool val

Parameters

Returns