pub type SetupCallback<C> = Box<dyn Fn(&str) -> BoxFuture<'_, ConnectionResult<C>> + Send + Sync>;
Available on crate feature
pool
only.Expand description
Type of the custom setup closure passed to ManagerConfig::custom_setup
Aliased Typeยง
struct SetupCallback<C>(/* private fields */);