trale 0.3.0

Trale is a minimalistic Rust async executor using io_uring for efficient, correct task execution.
Documentation
1
2
3
4
5
6
7
8
9
10
pub mod multishot;
pub mod oneshot;

fn reactor_value_to_result(v: i32) -> std::io::Result<i32> {
    if v < 0 {
        Err(std::io::Error::from_raw_os_error(v.abs()))
    } else {
        Ok(v)
    }
}