#[repr(u32)]pub enum CassConsistency_ {
CASS_CONSISTENCY_UNKNOWN = 65_535,
CASS_CONSISTENCY_ANY = 0,
CASS_CONSISTENCY_ONE = 1,
CASS_CONSISTENCY_TWO = 2,
CASS_CONSISTENCY_THREE = 3,
CASS_CONSISTENCY_QUORUM = 4,
CASS_CONSISTENCY_ALL = 5,
CASS_CONSISTENCY_LOCAL_QUORUM = 6,
CASS_CONSISTENCY_EACH_QUORUM = 7,
CASS_CONSISTENCY_SERIAL = 8,
CASS_CONSISTENCY_LOCAL_SERIAL = 9,
CASS_CONSISTENCY_LOCAL_ONE = 10,
}
Variants§
CASS_CONSISTENCY_UNKNOWN = 65_535
CASS_CONSISTENCY_ANY = 0
CASS_CONSISTENCY_ONE = 1
CASS_CONSISTENCY_TWO = 2
CASS_CONSISTENCY_THREE = 3
CASS_CONSISTENCY_QUORUM = 4
CASS_CONSISTENCY_ALL = 5
CASS_CONSISTENCY_LOCAL_QUORUM = 6
CASS_CONSISTENCY_EACH_QUORUM = 7
CASS_CONSISTENCY_SERIAL = 8
CASS_CONSISTENCY_LOCAL_SERIAL = 9
CASS_CONSISTENCY_LOCAL_ONE = 10
Trait Implementations§
source§impl Clone for CassConsistency_
impl Clone for CassConsistency_
source§fn clone(&self) -> CassConsistency_
fn clone(&self) -> CassConsistency_
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 CassConsistency_
impl Debug for CassConsistency_
source§impl Hash for CassConsistency_
impl Hash for CassConsistency_
source§impl PartialEq for CassConsistency_
impl PartialEq for CassConsistency_
source§fn eq(&self, other: &CassConsistency_) -> bool
fn eq(&self, other: &CassConsistency_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CassConsistency_
impl Eq for CassConsistency_
impl StructuralPartialEq for CassConsistency_
Auto Trait Implementations§
impl Freeze for CassConsistency_
impl RefUnwindSafe for CassConsistency_
impl Send for CassConsistency_
impl Sync for CassConsistency_
impl Unpin for CassConsistency_
impl UnwindSafe for CassConsistency_
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