Enum mongors::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]
impl Clone for TopologyType
fn clone(&self) -> TopologyType
[src]
fn clone(&self) -> TopologyType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for TopologyType
[src]
impl Copy for TopologyType
impl Debug for TopologyType
[src]
impl Debug for TopologyType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for TopologyType
[src]
impl PartialEq for TopologyType
fn eq(&self, other: &TopologyType) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for TopologyType
[src]
impl Eq for TopologyType
impl FromStr for TopologyType
[src]
impl FromStr for TopologyType
Auto Trait Implementations
impl Send for TopologyType
impl Send for TopologyType
impl Sync for TopologyType
impl Sync for TopologyType