[][src]Enum aerospike::GenerationPolicy

pub enum GenerationPolicy {
    None,
    ExpectGenEqual,
    ExpectGenGreater,
}

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

Variants

None

None means: Do not use record generation to restrict writes.

ExpectGenEqual

ExpectGenEqual means: Update/delete record if expected generation is equal to server generation. Otherwise, fail.

ExpectGenGreater

ExpectGenGreater means: Update/delete record if expected generation greater than the server generation. Otherwise, fail. This is useful for restore after backup.

Trait Implementations

impl Default for GenerationPolicy[src]

impl PartialEq<GenerationPolicy> for GenerationPolicy[src]

impl Debug for GenerationPolicy[src]

impl StructuralPartialEq for GenerationPolicy[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>,