Enum mon::topology::TopologyType
[−]
[src]
pub enum TopologyType { Single, ReplicaSetNoPrimary, ReplicaSetWithPrimary, Sharded, Unknown, }
Describes the type of topology for a server set.
Variants
Single
ReplicaSetNoPrimary
ReplicaSetWithPrimary
Sharded
Unknown
Trait Implementations
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 Copy for TopologyType
[src]
impl Debug 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 !=
.