Enum aerospike::policy::CommitLevel
source · pub enum CommitLevel {
CommitAll,
CommitMaster,
}
Expand description
CommitLevel
determines how to handle record writes based on record generation.
Variants§
CommitAll
CommitAll indicates the server should wait until successfully committing master and all replicas.
CommitMaster
CommitMaster indicates the server should wait until successfully committing master only.
Trait Implementations§
source§impl Clone for CommitLevel
impl Clone for CommitLevel
source§fn clone(&self) -> CommitLevel
fn clone(&self) -> CommitLevel
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 CommitLevel
impl Debug for CommitLevel
source§impl Default for CommitLevel
impl Default for CommitLevel
source§fn default() -> CommitLevel
fn default() -> CommitLevel
Returns the “default value” for a type. Read more
source§impl PartialEq<CommitLevel> for CommitLevel
impl PartialEq<CommitLevel> for CommitLevel
source§fn eq(&self, other: &CommitLevel) -> bool
fn eq(&self, other: &CommitLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CommitLevel
Auto Trait Implementations§
impl RefUnwindSafe for CommitLevel
impl Send for CommitLevel
impl Sync for CommitLevel
impl Unpin for CommitLevel
impl UnwindSafe for CommitLevel
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