Enum aerospike::ResultCode [] [src]

pub enum ResultCode {
    Ok,
    ServerError,
    KeyNotFoundError,
    GenerationError,
    ParameterError,
    KeyExistsError,
    BinExistsError,
    ClusterKeyMismatch,
    ServerMemError,
    Timeout,
    NoXds,
    ServerNotAvailable,
    BinTypeError,
    RecordTooBig,
    KeyBusy,
    ScanAbort,
    UnsupportedFeature,
    BinNotFound,
    DeviceOverload,
    KeyMismatch,
    InvalidNamespace,
    BinNameTooLong,
    FailForbidden,
    ElementNotFound,
    ElementExists,
    EnterpriseOnly,
    QueryEnd,
    SecurityNotSupported,
    SecurityNotEnabled,
    SecuritySchemeNotSupported,
    InvalidCommand,
    InvalidField,
    IllegalState,
    InvalidUser,
    UserAlreadyExists,
    InvalidPassword,
    ExpiredPassword,
    ForbiddenPassword,
    InvalidCredential,
    InvalidRole,
    RoleAlreadyExists,
    InvalidPrivilege,
    NotAuthenticated,
    RoleViolation,
    UdfBadResponse,
    LargeItemNotFound,
    BatchDisabled,
    BatchMaxRequestsExceeded,
    BatchQueuesFull,
    IndexFound,
    IndexNotFound,
    IndexOom,
    IndexNotReadable,
    IndexGeneric,
    IndexNameMaxLen,
    IndexMaxCount,
    QueryAborted,
    QueryQueueFull,
    QueryTimeout,
    QueryGeneric,
    QueryNetioErr,
    QueryDuplicate,
    Unknown(u8),
}

Database operation error codes. The error codes are defined in the server-side file proto.h.

Variants

OperationType was successful.

Unknown server failure.

On retrieving, touching or replacing a record that doesn't exist.

On modifying a record with unexpected generation.

Bad parameter(s) were passed in database operation call.

On create-only (write unique) operations on a record that already exists.

On create-only (write unique) operations on a bin that already exists.

Expected cluster Id was not received.

Server has run out of memory.

Client or server has timed out.

Xds product is not available.

Server is not accepting requests.

OperationType is not supported with configured bin type (single-bin or multi-bin).

Record size exceeds limit.

Too many concurrent operations on the same record.

Scan aborted by server.

Unsupported Server Feature (e.g. Scan + Udf)

Specified bin name does not exist in record.

Specified bin name does not exist in record.

Key type mismatch.

Invalid namespace.

Bin name length greater than 14 characters.

OperationType not allowed at this time.

Returned by Map put and put_items operations when policy is REPLACE but key was not found.

Returned by Map put and put_items operations when policy is CREATE_ONLY but key already exists.

Enterprise-only feature not supported by the community edition

There are no more records left for query.

Security type not supported by connected server.

Administration command is invalid.

Administration field is invalid.

Administration command is invalid.

Administration field is invalid.

Security protocol not followed.

User name is invalid.

User was previously created.

Password is invalid.

Security credential is invalid.

Forbidden password (e.g. recently used)

Security credential is invalid.

Role name is invalid.

Role already exists.

Privilege is invalid.

User must be authentication before performing database operations.

User does not posses the required role to perform the database operation.

A user defined function returned an error code.

The requested item in a large collection was not found.

Batch functionality has been disabled.

Batch max requests have been exceeded.

All batch queues are full.

Secondary index already exists.

Requested secondary index does not exist.

Secondary index memory space exceeded.

Secondary index not available.

Generic secondary index error.

Index name maximum length exceeded.

Maximum number of indicies exceeded.

Secondary index query aborted.

Secondary index queue full.

Secondary index query timed out on server.

Generic query error.

Query NetIo error on server

Duplicate TaskId sent for the statement

Unknown server result code

Methods

impl ResultCode
[src]

Convert a result code into an string.

Trait Implementations

impl Debug for ResultCode
[src]

Formats the value using the given formatter.

impl Clone for ResultCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ResultCode
[src]

impl PartialEq for ResultCode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<u8> for ResultCode
[src]

Performs the conversion.

impl Display for ResultCode
[src]

Formats the value using the given formatter. Read more