wt_status_t enum
Result of an operation.
WT_OK and WT_EOF are non-negative; every error is negative. Completed
asynchronous operations carry a status inside their wt_event_t.
Values
- WT_OK → const wt_status_t
-
Success.
const wt_status_t(0) - WT_EOF → const wt_status_t
-
Stream finished cleanly; no more data will arrive (a read returned EOF).
const wt_status_t(1) - WT_ERR_INVALID_ARG → const wt_status_t
-
A required pointer/argument was NULL or out of range.
const wt_status_t(-1) - WT_ERR_INVALID_HANDLE → const wt_status_t
-
The handle magic/kind did not match (use-after-free or wrong type).
const wt_status_t(-2) - WT_ERR_NO_RUNTIME → const wt_status_t
-
wt_runtime_inithas not been called successfully.const wt_status_t(-3) - WT_ERR_ALREADY_INITIALIZED → const wt_status_t
-
wt_runtime_initwas already called.const wt_status_t(-4) - WT_ERR_OP_BUSY → const wt_status_t
-
The operation is already in flight on that stream/connection.
const wt_status_t(-5) - WT_ERR_IO → const wt_status_t
-
Generic I/O failure (socket bind, accept, ...).
const wt_status_t(-6) - WT_ERR_INVALID_URL → const wt_status_t
-
The URL passed to
wt_client_connectis malformed or nothttps.const wt_status_t(-7) - WT_ERR_DNS → const wt_status_t
-
DNS resolution failed.
const wt_status_t(-8) - WT_ERR_HANDSHAKE → const wt_status_t
-
TLS/QUIC handshake failed.
const wt_status_t(-9) - WT_ERR_SESSION_REJECTED → const wt_status_t
-
The server rejected the WebTransport session request.
const wt_status_t(-10) - WT_ERR_RESERVED_HEADER → const wt_status_t
-
A reserved HTTP/3 header was supplied by the caller.
const wt_status_t(-11) - WT_ERR_NOT_CONNECTED → const wt_status_t
-
The connection is not usable any more.
const wt_status_t(-12) - WT_ERR_STREAM_WRITE → const wt_status_t
-
wt_send_stream_write/wt_send_stream_write_allfailed.const wt_status_t(-13) - WT_ERR_STREAM_READ → const wt_status_t
-
wt_recv_stream_readfailed.const wt_status_t(-14) - WT_ERR_STREAM_RESET → const wt_status_t
-
The peer reset the receive stream.
const wt_status_t(-15) - WT_ERR_STREAM_STOPPED → const wt_status_t
-
The peer stopped the send stream.
const wt_status_t(-16) - WT_ERR_STREAM_CLOSED → const wt_status_t
-
The send stream was already finished/reset locally.
const wt_status_t(-17) - WT_ERR_STREAM_FINISHED_EARLY → const wt_status_t
-
wt_recv_stream_read_exacthit end-of-stream too early.const wt_status_t(-18) - WT_ERR_DATAGRAM_UNSUPPORTED → const wt_status_t
-
The peer does not support receiving datagrams.
const wt_status_t(-19) - WT_ERR_DATAGRAM_TOO_LARGE → const wt_status_t
-
Datagram payload exceeds what the connection can carry right now.
const wt_status_t(-20) - WT_ERR_ENDPOINT_CLOSED → const wt_status_t
-
The endpoint was closed / is stopping.
const wt_status_t(-21) - WT_ERR_TLS_CONFIG → const wt_status_t
-
Certificate/key material could not be parsed.
const wt_status_t(-22) - WT_ERR_CONFIG_INCOMPLETE → const wt_status_t
-
A blob of configuration was missing (identity, certificates, ...).
const wt_status_t(-23) - WT_ERR_UNSUPPORTED → const wt_status_t
-
The requested feature was not compiled in.
const wt_status_t(-24) - WT_ERR_PANIC → const wt_status_t
-
A Rust panic was caught at the FFI boundary.
const wt_status_t(-25) - WT_ERR_TIMEOUT → const wt_status_t
-
Timeout (currently used by
wt_runtime_wait_idle).const wt_status_t(-26) - WT_ERR_INVALID_DIGEST → const wt_status_t
-
Certificate hash list was malformed.
const wt_status_t(-27)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
int value) → wt_status_t
Constants
-
values
→ const List<
wt_status_t> - A constant List of the values in this enum, in order of their declaration.