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]

Executes the destructor for this type. Read more

Auto Trait Implementations