Enum aerospike::policy::ConsistencyLevel
source · pub enum ConsistencyLevel {
ConsistencyOne,
ConsistencyAll,
}
Expand description
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§
source§impl Clone for ConsistencyLevel
impl Clone for ConsistencyLevel
source§fn clone(&self) -> ConsistencyLevel
fn clone(&self) -> ConsistencyLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConsistencyLevel
impl Debug for ConsistencyLevel
source§impl Default for ConsistencyLevel
impl Default for ConsistencyLevel
source§fn default() -> ConsistencyLevel
fn default() -> ConsistencyLevel
Returns the “default value” for a type. Read more
source§impl PartialEq<ConsistencyLevel> for ConsistencyLevel
impl PartialEq<ConsistencyLevel> for ConsistencyLevel
source§fn eq(&self, other: &ConsistencyLevel) -> bool
fn eq(&self, other: &ConsistencyLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConsistencyLevel
Auto Trait Implementations§
impl RefUnwindSafe for ConsistencyLevel
impl Send for ConsistencyLevel
impl Sync for ConsistencyLevel
impl Unpin for ConsistencyLevel
impl UnwindSafe for ConsistencyLevel
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more