child_wait_timeout 0.1.0

A wait timeout in rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::io;

pub(crate) fn _generate_default_error() -> io::Result<()> {
    Err(io::Error::new(
        io::ErrorKind::Other,
        "an unspecified error occurred",
    ))
}

pub(crate) fn _generate_timeout_error() -> io::Result<()> {
    Err(io::Error::new(
        io::ErrorKind::TimedOut,
        "operation timed out",
    ))
}