refactor(io): make aligned pread error primary (#4063)

This commit is contained in:
Zhengchao An
2026-06-29 21:46:20 +08:00
committed by GitHub
parent 158f4a32a1
commit a5e7dda6d9
2 changed files with 20 additions and 16 deletions
+3 -3
View File
@@ -61,10 +61,10 @@ pub mod timeout_wrapper;
pub mod writer;
#[cfg(target_os = "linux")]
#[allow(deprecated)]
pub use direct_io::DirectIoReader;
pub use direct_io::{AlignedPreadError, AlignedPreadReader};
#[cfg(target_os = "linux")]
pub use direct_io::{AlignedPreadError, AlignedPreadReader, DirectIoError};
#[allow(deprecated)]
pub use direct_io::{DirectIoError, DirectIoReader};
pub use pool::{BytesPool, BytesPoolConfig, BytesPoolMetrics, PooledBuffer};
#[allow(deprecated)]
pub use reader::ZeroCopyObjectReader;