Enum aerospike::policy::Expiration
[−]
[src]
pub enum Expiration { Seconds(u32), NamespaceDefault, Never, DontUpdate, }
Record expiration, also known as time-to-live (TTL).
Variants
Seconds(u32)
Set the record to expire X seconds from now
NamespaceDefault
Set the record's expiry time using the default time-to-live (TTL) value for the namespace
Never
Set the record to never expire. Requires Aerospike 2 server version 2.7.2 or later or Aerospike 3 server version 3.1.4 or later. Do not use with older servers.
DontUpdate
Do not change the record's expiry time when updating the record; requires Aerospike server version 3.10.1 or later.
Trait Implementations
impl Debug for Expiration
[src]
impl Clone for Expiration
[src]
fn clone(&self) -> Expiration
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more