Struct mysql_async::Pool [] [src]

pub struct Pool { /* fields omitted */ }

Asynchronous pool of MySql connections.

Methods

impl Pool
[src]

Creates new pool of connections.

Returns future that resolves to Conn.

Returns future that disconnects this pool from server and resolves to ().

Active connections taken from this pool should be disconnected manually. Also all pending and new GetConn's will resolve to error.

Trait Implementations

impl Clone for Pool
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Pool
[src]

Formats the value using the given formatter.