Struct diesel::r2d2::NopErrorHandler
source · pub struct NopErrorHandler;
Available on crate feature
r2d2
only.Expand description
A HandleError
implementation which does nothing.
Trait Implementations§
source§impl Clone for NopErrorHandler
impl Clone for NopErrorHandler
source§fn clone(&self) -> NopErrorHandler
fn clone(&self) -> NopErrorHandler
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NopErrorHandler
impl Debug for NopErrorHandler
source§impl<E> HandleError<E> for NopErrorHandler
impl<E> HandleError<E> for NopErrorHandler
source§fn handle_error(&self, _: E)
fn handle_error(&self, _: E)
Handles an error.
impl Copy for NopErrorHandler
Auto Trait Implementations§
impl Freeze for NopErrorHandler
impl RefUnwindSafe for NopErrorHandler
impl Send for NopErrorHandler
impl Sync for NopErrorHandler
impl Unpin for NopErrorHandler
impl UnwindSafe for NopErrorHandler
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more