diesel_async::pooled_connection

Type Alias RecycleCheckCallback

source
pub type RecycleCheckCallback<C> = dyn Fn(&mut C) -> BoxFuture<'_, QueryResult<()>> + Send + Sync;
Expand description

Type of the recycle check callback for the RecyclingMethod::CustomFunction variant