Enum cassandra_cpp::Consistency
[−]
[src]
pub enum Consistency {
UNKNOWN,
ANY,
ONE,
TWO,
THREE,
QUORUM,
ALL,
LOCAL_QUORUM,
EACH_QUORUM,
SERIAL,
LOCAL_SERIAL,
LOCAL_ONE,
}A Cassandra consistency level.
Variants
UNKNOWNANYONETWOTHREEQUORUMALLLOCAL_QUORUMEACH_QUORUMSERIALLOCAL_SERIALLOCAL_ONE
Methods
impl Consistency[src]
fn variants() -> &'static [Consistency][src]
List all the possible values of this enumeration.
Trait Implementations
impl Debug for Consistency[src]
impl Eq for Consistency[src]
impl PartialEq for Consistency[src]
fn eq(&self, __arg_0: &Consistency) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Copy for Consistency[src]
impl Clone for Consistency[src]
fn clone(&self) -> Consistency[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
impl Hash for Consistency[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Display for Consistency[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more