pub type RecycleCheck = Arc<dyn Fn(&AsyncConnection) -> HookFuture<'_> + Send + Sync + 'static>;Expand description
A user-supplied async per-checkout health check for RecycleStrategy::Custom.
Returning Err evicts the connection from the pool.
Aliased Typeยง
pub struct RecycleCheck { /* private fields */ }