Enum mongodb::common::ReadMode [] [src]

pub enum ReadMode {
    Primary,
    PrimaryPreferred,
    Secondary,
    SecondaryPreferred,
    Nearest,
}

Indicates how a server should be selected during read operations.

Variants

Trait Implementations

impl Debug for ReadMode
[src]

Formats the value using the given formatter.

impl Clone for ReadMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ReadMode
[src]

impl PartialEq for ReadMode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ReadMode
[src]

impl FromStr for ReadMode
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more