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 RefUnwindSafe for NopErrorHandler
impl Send for NopErrorHandler
impl Sync for NopErrorHandler
impl Unpin for NopErrorHandler
impl UnwindSafe for NopErrorHandler
Blanket Implementations§
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> AsExprOf<Self, T>where
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> AsExprOf<Self, T>where Self: AsExpression<T> + Sized, T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T>where &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more