[go: up one dir, main page]

futures-time 3.0.1

async time combinators
Documentation
1
2
3
4
5
use std::io;

pub(crate) fn timeout_err(msg: &'static str) -> io::Error {
    io::Error::new(io::ErrorKind::TimedOut, msg)
}