Struct diesel::r2d2::ConnectionManager [] [src]

pub struct ConnectionManager<T> { /* fields omitted */ }

An r2d2 connection manager for use with Diesel.

See the r2d2 documentation for usage examples.

Methods

impl<T> ConnectionManager<T>
[src]

[src]

Returns a new connection manager, which establishes connections to the given database URL.

Trait Implementations

impl<T: Debug> Debug for ConnectionManager<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for ConnectionManager<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Send + 'static> Sync for ConnectionManager<T>
[src]

impl<T> ManageConnection for ConnectionManager<T> where
    T: Connection + Send + 'static, 
[src]

The connection type this manager deals with.

The error type returned by Connections.

[src]

Attempts to create a new connection.

[src]

Determines if the connection is still connected to the database. Read more

[src]

Quickly determines if the connection is no longer usable. Read more

Auto Trait Implementations

impl<T> Send for ConnectionManager<T> where
    T: Send