Struct mongodb::topology::monitor::Monitor [] [src]

pub struct Monitor {
    pub running: Arc<AtomicBool>,
    // some fields omitted
}

Monitors and updates server and topology information.

Fields

While true, the monitor will check server connection health at the topology's heartbeat frequency rate.

Methods

impl Monitor
[src]

Returns a new monitor connected to the server.

Returns an isMaster server response using an owned monitor socket.

Starts server monitoring.