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]
fn get_socket(&mut self) -> &mut BufStream<Stream>
Returns a reference to the socket.