Enum mongodb::topology::TopologyType [] [src]

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

Describes the type of topology for a server set.

Variants

SingleReplicaSetNoPrimaryReplicaSetWithPrimaryShardedUnknown

Trait Implementations

impl Eq for TopologyType
[src]

impl PartialEq for TopologyType
[src]

fn eq(&self, __arg_0: &TopologyType) -> 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 !=.

impl Debug for TopologyType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for TopologyType
[src]

impl Clone for TopologyType
[src]

fn clone(&self) -> TopologyType

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 FromStr for TopologyType
[src]

type Err = Error

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<Self>

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