1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#[cfg(unix)]
mod unix;
#[cfg(unix)]
pub use self::unix::{
IoVec,
MAX_LENGTH,
};
#[cfg(windows)]
mod windows;
#[cfg(windows)]
pub use self::windows::{
IoVec,
MAX_LENGTH,
};
#[cfg(not(any(windows, unix)))]
mod unknown;
#[cfg(not(any(windows, unix)))]
pub use self::unknown::{
IoVec,
MAX_LENGTH,
};