Expand description
Explicit composition of SQLx connection initialization.
PoolOptions stores its after_connect callback privately. Constructors cannot recover or transparently chain a callback already installed there. Pass custom setup explicitly; adapters run it before mandatory settings.
Type Aliasesยง
- Connection
Init - Shared custom callback invoked on every fresh physical connection.
- Init
Future - Borrowed connection initialization future.