pub async fn connect(
params: &ReplicationParams<'_>,
) -> Result<Client, FaucetError>Available on crate features
source-postgres-cdc and source-rest only.Expand description
Validate connectivity and return a Client handle.
This function parses the connection URL and records the parameters.
It does not open a TCP connection; actual connectivity is verified
lazily when ensure_slot or start_replication is called.