Struct mon::common::ReadPreference [] [src]

pub struct ReadPreference {
    pub mode: ReadMode,
    pub tag_sets: Vec<BTreeMap<String, String>>,
}

Fields

Indicates how a server should be selected during read operations.

Filters servers based on the first tag set that matches at least one server.

Methods

impl ReadPreference
[src]

[src]

[src]

Trait Implementations

impl Debug for ReadPreference
[src]

[src]

Formats the value using the given formatter.

impl Clone for ReadPreference
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more