Struct mongodb::pool::PooledStream [] [src]

pub struct PooledStream { /* fields omitted */ }

Holds an available socket, with logic to return the socket to the connection pool when dropped.

Methods

impl PooledStream
[src]

Returns a reference to the socket.

Trait Implementations

impl Drop for PooledStream
[src]

A method called when the value goes out of scope. Read more