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
UNKNOWN
ANY
ONE
TWO
THREE
QUORUM
ALL
LOCAL_QUORUM
EACH_QUORUM
SERIAL
LOCAL_SERIAL
LOCAL_ONE
Methods
impl Consistency
[src]
fn variants() -> &'static [Consistency]
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
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
This method tests for !=
.
impl Display for Consistency
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more