[−][src]Enum aerospike::ResultCode
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(u8)
Unknown server result code
Methods
impl ResultCode
[src]
pub fn into_string(self) -> String
[src]
Convert a result code into an string.
Trait Implementations
impl From<u8> for ResultCode
[src]
fn from(val: u8) -> ResultCode
[src]
impl From<ResultCode> for String
[src]
fn from(code: ResultCode) -> String
[src]
impl Clone for ResultCode
[src]
fn clone(&self) -> ResultCode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ResultCode
[src]
impl PartialEq<ResultCode> for ResultCode
[src]
fn eq(&self, other: &ResultCode) -> bool
[src]
fn ne(&self, other: &ResultCode) -> bool
[src]
impl Debug for ResultCode
[src]
impl Display for ResultCode
[src]
impl StructuralPartialEq for ResultCode
[src]
Auto Trait Implementations
impl Send for ResultCode
impl Sync for ResultCode
impl Unpin for ResultCode
impl UnwindSafe for ResultCode
impl RefUnwindSafe for ResultCode
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,