Function toku_connection::timeout_at[][src]

pub async fn timeout_at<F, O, E>(deadline: Instant, future: F) -> F::Output where
    F: Future<Output = Result<O, E>>,
    E: From<IoError>, 
Expand description

Utility function for timing out a future without having to double unwrap the result. It collapses the two results into a single result.