pub enum Consistency {
UNKNOWN,
ANY,
ONE,
TWO,
THREE,
QUORUM,
ALL,
LOCAL_QUORUM,
EACH_QUORUM,
SERIAL,
LOCAL_SERIAL,
LOCAL_ONE,
}
Expand description
A Cassandra consistency level.
Variants
UNKNOWN
ANY
ONE
TWO
THREE
QUORUM
ALL
LOCAL_QUORUM
EACH_QUORUM
SERIAL
LOCAL_SERIAL
LOCAL_ONE
Implementations
sourceimpl Consistency
impl Consistency
sourcepub fn variants() -> &'static [Consistency]
pub fn variants() -> &'static [Consistency]
List all the possible values of this enumeration.
Trait Implementations
sourceimpl Clone for Consistency
impl Clone for Consistency
sourcefn clone(&self) -> Consistency
fn clone(&self) -> Consistency
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Consistency
impl Debug for Consistency
sourceimpl Display for Consistency
impl Display for Consistency
sourceimpl FromStr for Consistency
impl FromStr for Consistency
sourceimpl Hash for Consistency
impl Hash for Consistency
sourceimpl PartialEq<Consistency> for Consistency
impl PartialEq<Consistency> for Consistency
impl Copy for Consistency
impl Eq for Consistency
impl StructuralEq for Consistency
impl StructuralPartialEq for Consistency
Auto Trait Implementations
impl RefUnwindSafe for Consistency
impl Send for Consistency
impl Sync for Consistency
impl Unpin for Consistency
impl UnwindSafe for Consistency
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more