[][src]Struct bb8_diesel::DieselConnectionManager

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

Methods

impl<T: Send + 'static> DieselConnectionManager<T>[src]

pub fn new<S: Into<String>>(database_url: S) -> Self[src]

Trait Implementations

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

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

type Connection = DieselConnection<T>

The connection type this manager deals with.

type Error = <ConnectionManager<T> as ManageConnection>::Error

The error type returned by Connections.

Auto Trait Implementations

impl<T> RefUnwindSafe for DieselConnectionManager<T>

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

impl<T> Sync for DieselConnectionManager<T> where
    T: Send

impl<T> Unpin for DieselConnectionManager<T>

impl<T> UnwindSafe for DieselConnectionManager<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.