[][src]Struct sqlx::pool::PoolConnection

pub struct PoolConnection<C> where
    C: Connect
{ /* fields omitted */ }

A connection checked out from Pool.

Will be returned to the pool on-drop.

Trait Implementations

impl<C> Borrow<C> for PoolConnection<C> where
    C: Connect
[src]

impl<C> BorrowMut<C> for PoolConnection<C> where
    C: Connect
[src]

impl<C> Connection for PoolConnection<C> where
    C: Connect
[src]

impl<C> Deref for PoolConnection<C> where
    C: Connect
[src]

type Target = C

The resulting type after dereferencing.

impl<C> DerefMut for PoolConnection<C> where
    C: Connect
[src]

impl<C> Drop for PoolConnection<C> where
    C: Connect
[src]

Returns the connection to the Pool it was checked-out from.

impl<C> Executor for PoolConnection<C> where
    C: Connect
[src]

type Database = <C as Executor>::Database

The specific database that this type is implemented for.

impl<'c, C, DB> RefExecutor<'c> for &'c mut PoolConnection<C> where
    C: Connect<Database = DB>,
    DB: Database<Connection = C, Database = DB> + HasCursor<'c2, 'q>,
    &'c mut C: RefExecutor<'c>,
    <&'c mut C as RefExecutor<'c>>::Database == DB, 
[src]

type Database = DB

Auto Trait Implementations

impl<C> !RefUnwindSafe for PoolConnection<C>

impl<C> Send for PoolConnection<C>

impl<C> Sync for PoolConnection<C> where
    C: Sync

impl<C> Unpin for PoolConnection<C> where
    C: Unpin

impl<C> !UnwindSafe for PoolConnection<C>

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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,