Function sqlx_core::rt::timeout

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