Struct r2d2::NopConnectionCustomizer
[−]
[src]
pub struct NopConnectionCustomizer;
A CustomizeConnection
which does nothing.
Trait Implementations
impl Copy for NopConnectionCustomizer
[src]
impl Clone for NopConnectionCustomizer
[src]
fn clone(&self) -> NopConnectionCustomizer
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for NopConnectionCustomizer
[src]
impl<C, E> CustomizeConnection<C, E> for NopConnectionCustomizer
[src]
fn on_acquire(&self, conn: &mut C) -> Result<(), E>
[src]
Called with connections immediately after they are returned from ManageConnection::connect
. Read more
fn on_release(&self, conn: C)
[src]
Called with connections when they are removed from the pool. Read more