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