Enum mongodb::common::ReadMode
[−]
[src]
pub enum ReadMode { Primary, PrimaryPreferred, Secondary, SecondaryPreferred, Nearest, }
Indicates how a server should be selected during read operations.
Variants
Primary
PrimaryPreferred
Secondary
SecondaryPreferred
Nearest
Trait Implementations
impl Debug for ReadMode
[src]
impl Clone for ReadMode
[src]
fn clone(&self) -> ReadMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for ReadMode
[src]
impl PartialEq for ReadMode
[src]
fn eq(&self, __arg_0: &ReadMode) -> 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 !=
.