Struct r2d2::NopConnectionCustomizer [−][src]
pub struct NopConnectionCustomizer;
A CustomizeConnection which does nothing.
Trait Implementations
impl Copy for NopConnectionCustomizer[src]
impl Copy for NopConnectionCustomizerimpl Clone for NopConnectionCustomizer[src]
impl Clone for NopConnectionCustomizerfn clone(&self) -> NopConnectionCustomizer[src]
fn clone(&self) -> NopConnectionCustomizerReturns 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 NopConnectionCustomizerfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<C, E> CustomizeConnection<C, E> for NopConnectionCustomizer[src]
impl<C, E> CustomizeConnection<C, E> for NopConnectionCustomizerfn 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 NopConnectionCustomizerimpl Sync for NopConnectionCustomizer
impl Sync for NopConnectionCustomizer