linux-io-uring 0.1.0

The `io_uring` library for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![allow(dead_code)]

mod ioop;

use linux_io_uring::opcode::{ self, types };
pub use ioop::do_write_read;


include!("../../src/util.rs");

pub fn one_s() -> opcode::Timeout {
    static ONE_S: types::Timespec = types::Timespec { tv_sec: 1, tv_nsec: 0 };

    opcode::Timeout::new(&ONE_S)
}