Struct mongodb::topology::Topology [] [src]

pub struct Topology {
    pub config: ConnectionString,
    pub description: Arc<RwLock<TopologyDescription>>,
}

Holds status and connection information about a server set.

Fields

The initial connection configuration.

Monitored topology information.

Methods

impl Topology
[src]

Returns a new topology with the given configuration and description.

Returns a server stream for read operations.

Returns a server stream for write operations.

Trait Implementations

impl Clone for Topology
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more