Enum aerospike::ConsistencyLevel [−][src]
pub enum ConsistencyLevel { ConsistencyOne, ConsistencyAll, }
ConsistencyLevel
indicates how replicas should be consulted in a read
operation to provide the desired consistency guarantee.
Variants
ConsistencyOne
ConsistencyOne indicates only a single replica should be consulted in the read operation.
ConsistencyAll
ConsistencyAll indicates that all replicas should be consulted in the read operation.
Trait Implementations
impl Debug for ConsistencyLevel
[src]
impl Debug for ConsistencyLevel
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ConsistencyLevel
[src]
impl PartialEq for ConsistencyLevel
fn eq(&self, other: &ConsistencyLevel) -> bool
[src]
fn eq(&self, other: &ConsistencyLevel) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for ConsistencyLevel
[src]
impl Clone for ConsistencyLevel
fn clone(&self) -> ConsistencyLevel
[src]
fn clone(&self) -> ConsistencyLevel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for ConsistencyLevel
[src]
impl Default for ConsistencyLevel
fn default() -> ConsistencyLevel
[src]
fn default() -> ConsistencyLevel
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ConsistencyLevel
impl Send for ConsistencyLevel
impl Sync for ConsistencyLevel
impl Sync for ConsistencyLevel