Struct r2d2::NopConnectionCustomizer [] [src]

pub struct NopConnectionCustomizer;

A CustomizeConnection which does nothing.

Trait Implementations

impl Debug for NopConnectionCustomizer
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for NopConnectionCustomizer
[src]

fn clone(&self) -> NopConnectionCustomizer

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for NopConnectionCustomizer
[src]

impl<C, E> CustomizeConnection<C, E> for NopConnectionCustomizer
[src]

fn on_acquire(&self, conn: &mut C) -> Result<(), E>

Called with connections immediately after they are returned from ManageConnection::connect. Read more