pub enum ReplicationMode {
None,
TwoWay,
TwoWayDangerous,
ThreeWay,
ThreeWayDegraded,
ThreeWayDangerous,
}
Variants§
Implementations§
source§impl ReplicationMode
impl ReplicationMode
pub fn parse(v: &str) -> Option<Self>
pub fn control_write_max_faults(&self) -> usize
pub fn replication_factor(&self) -> usize
pub fn read_quorum(&self) -> usize
pub fn write_quorum(&self) -> usize
Trait Implementations§
source§impl Clone for ReplicationMode
impl Clone for ReplicationMode
source§fn clone(&self) -> ReplicationMode
fn clone(&self) -> ReplicationMode
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 more