pub enum WriteConsistency {
Local,
Quorum,
}Expand description
Remote write consistency labels.
Variants§
Trait Implementations§
Source§impl Clone for WriteConsistency
impl Clone for WriteConsistency
Source§fn clone(&self) -> WriteConsistency
fn clone(&self) -> WriteConsistency
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WriteConsistency
Source§impl Debug for WriteConsistency
impl Debug for WriteConsistency
Source§impl<'de> Deserialize<'de> for WriteConsistency
impl<'de> Deserialize<'de> for WriteConsistency
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WriteConsistency
Source§impl PartialEq for WriteConsistency
impl PartialEq for WriteConsistency
Source§fn eq(&self, other: &WriteConsistency) -> bool
fn eq(&self, other: &WriteConsistency) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WriteConsistency
impl Serialize for WriteConsistency
impl StructuralPartialEq for WriteConsistency
Auto Trait Implementations§
impl Freeze for WriteConsistency
impl RefUnwindSafe for WriteConsistency
impl Send for WriteConsistency
impl Sync for WriteConsistency
impl Unpin for WriteConsistency
impl UnsafeUnpin for WriteConsistency
impl UnwindSafe for WriteConsistency
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