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