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§
Implementations§
Source§impl Consistency
impl Consistency
Sourcepub fn variants() -> &'static [Consistency]
pub fn variants() -> &'static [Consistency]
List all the possible values of this enumeration.
Trait Implementations§
Source§impl Clone for Consistency
impl Clone for Consistency
Source§fn clone(&self) -> Consistency
fn clone(&self) -> Consistency
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 Consistency
impl Debug for Consistency
Source§impl Display for Consistency
impl Display for Consistency
Source§impl FromStr for Consistency
impl FromStr for Consistency
Source§impl Hash for Consistency
impl Hash for Consistency
Source§impl PartialEq for Consistency
impl PartialEq for Consistency
impl Copy for Consistency
impl Eq for Consistency
impl StructuralPartialEq for Consistency
Auto Trait Implementations§
impl Freeze for Consistency
impl RefUnwindSafe for Consistency
impl Send for Consistency
impl Sync for Consistency
impl Unpin for Consistency
impl UnwindSafe for Consistency
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