Struct mongodb::topology::server::Server[][src]

pub struct Server {
    pub host: Host,
    pub description: Arc<RwLock<ServerDescription>>,
    // some fields omitted
}

Holds status and connection information about a single server.

Fields

Host connection details.

Monitored server information.

Methods

impl Server
[src]

Returns a new server with the given host, initializing a new connection pool and monitor.

Returns a server stream from the connection pool.

Request an update from the monitor on the server status.

Trait Implementations

impl Clone for Server
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for Server
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Server

impl Sync for Server