Function sqlx_core::rt::timeout

source ยท
pub async fn timeout<F: Future>(
    duration: Duration,
    f: F,
) -> Result<F::Output, TimeoutError>