Enum aerospike::GenerationPolicy [] [src]

pub enum GenerationPolicy {
    None,
    ExpectGenEqual,
    ExpectGenGreater,
}

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

Variants

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

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

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 Debug for GenerationPolicy
[src]

Formats the value using the given formatter.

impl PartialEq for GenerationPolicy
[src]

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

This method tests for !=.

impl Default for GenerationPolicy
[src]

Returns the "default value" for a type. Read more