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) }