diesel_async::pooled_connection

Type Alias SetupCallback

source
pub type SetupCallback<C> = Box<dyn Fn(&str) -> BoxFuture<'_, ConnectionResult<C>> + Send + Sync>;
Expand description

Type of the custom setup closure passed to ManagerConfig::custom_setup

Aliased Typeยง

struct SetupCallback<C>(/* private fields */);