[][src]Function melib::connections::timeout

pub async fn timeout<O>(
    dur: Option<Duration>,
    f: impl Future<Output = O>
) -> Result<O>