struct Status An Error never carries SUCCESS or DEFERRED: only a Deferred reports the latter, and only
until its call is final. Library.status_name spells each one as the engine does.
Fields
code | Int32 | The raw usearch_status_t value, kept even when this build does not name it. |
|---|
Values
SUCCESS | Status(Int32(0)) | The call completed. |
|---|---|---|
DEFERRED | Status(Int32(1)) | The call was submitted deferred and is not final yet; the one non-final status. |
OUT_OF_MEMORY | Status(Int32(2)) | An allocation or reservation could not be satisfied. |
SHAPE_MISMATCH | Status(Int32(3)) | Dimensionality or row counts disagree. |
UNSUPPORTED_LAYOUT | Status(Int32(4)) | A stride or packing the engine cannot traverse. |
UNKNOWN_KIND | Status(Int32(5)) | A scalar, metric, or residency tag this build does not know. |
READ_ONLY | Status(Int32(6)) | A mutating verb on a handle that serves its checkpoint in place. |
IO | Status(Int32(7)) | A file could not be opened, read, written, or parsed. |
DEVICE | Status(Int32(8)) | A device could not be selected, or its memory could not be claimed. |
MALFORMED | Status(Int32(9)) | A caller-supplied representation could not be decoded. |
INTERNAL | Status(Int32(10)) | The engine reported neither success nor a failure, which names a defect rather than a state. |
OVERFLOW | Status(Int32(11)) | A hard design ceiling was reached, so a smaller request cannot help. |
UNINITIALIZED | Status(Int32(12)) | The verb needs a prior successful reservation that never happened. |
CONFIG_MISMATCH | Status(Int32(13)) | The request contradicts an already-frozen configuration. |
CONTENDED | Status(Int32(14)) | The call was refused rather than waited for, like a submission to a full deferred table. |
CANCELLED | Status(Int32(15)) | A progress handler stopped the operation; it published nothing. |
UNSUPPORTED | Status(Int32(16)) | The verb is declared for every residency but this one does not implement it. |
INVALID_ARGUMENT | Status(Int32(17)) | An argument breaks the verb's contract, like a required output left null. |
LIBRARY_MISSING | Status(Int32(-1)) | Nothing to dlopen - the binding's own. |
SYMBOL_MISSING | Status(Int32(-2)) | The library loaded but does not export a symbol the binding needs - the binding's own. |
VERSION_MISMATCH | Status(Int32(-3)) | The library loaded but reports a different major version than the binding's - the binding's own. |
Conforms to
Copyable, Deinitable, Equatable, ImplicitlyCopyable, Movable, RegisterPassable, TrivialRegisterPassable