Enum mon::topology::TopologyType [] [src]

pub enum TopologyType {
    Single,
    ReplicaSetNoPrimary,
    ReplicaSetWithPrimary,
    Sharded,
    Unknown,
}

Describes the type of topology for a server set.

Variants

Trait Implementations

impl Clone for TopologyType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for TopologyType
[src]

impl Debug for TopologyType
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for TopologyType
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for TopologyType
[src]

impl FromStr for TopologyType
[src]

The associated error which can be returned from parsing.

[src]

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