compio-driver 0.13.0-beta.1

Low-level driver for compio
Documentation
//! The async operations.
//!
//! Types in this mod represents the low-level operations passed to kernel.
//! The operation itself doesn't perform anything.
//! You need to pass them to [`crate::Proactor`], and poll the driver.

use crate::sys::prelude::*;

mod_use![
    asyncify, general, ext, flag, socket, fs, managed, multishot, zerocopy
];

cfg_select! {
    unix => {
        mod_use![unix];

        pub use rustix::fs::{Mode, OFlags, Stat};

        pub use crate::sys::pal::{CurrentDir, FileAttr, Interest};
    }
    _ => {}
}

cfg_select! {
    any(target_os = "linux", target_os = "android") => {
        pub use rustix::pipe::SpliceFlags;
    }
    _ => {}
}

pub use rustix::net::{RecvFlags, ReturnFlags, SendFlags};