async fn set_wait_timeout<Q>(
conn: &mut Q,
timeout: Duration,
) -> Result<(), Error>where
Q: Queryable,Expand description
Sets the session wait_timeout so a lowered global value cannot reap the connection while it sits idle during snapshot setup.