[][src]Enum aerospike::RecordExistsAction

pub enum RecordExistsAction {
    Update,
    UpdateOnly,
    Replace,
    ReplaceOnly,
    CreateOnly,
}

RecordExistsAction determines how to handle record writes based on record generation.

Variants

Update

Update means: Create or update record. Merge write command bins with existing bins.

UpdateOnly

UpdateOnly means: Update record only. Fail if record does not exist. Merge write command bins with existing bins.

Replace

Replace means: Create or replace record. Delete existing bins not referenced by write command bins. Supported by Aerospike 2 server versions >= 2.7.5 and Aerospike 3 server versions >= 3.1.6.

ReplaceOnly

ReplaceOnly means: Replace record only. Fail if record does not exist. Delete existing bins not referenced by write command bins. Supported by Aerospike 2 server versions >= 2.7.5 and Aerospike 3 server versions >= 3.1.6.

CreateOnly

CreateOnly means: Create only. Fail if record exists.

Trait Implementations

impl Default for RecordExistsAction[src]

impl PartialEq<RecordExistsAction> for RecordExistsAction[src]

impl Debug for RecordExistsAction[src]

impl StructuralPartialEq for RecordExistsAction[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,