tempest_rt/fs/mod.rs
1//! Async file-system operations built on the [`tempest_io::Io`] trait.
2//!
3//! Each operation is a [`Future`] that submits a request to the I/O backend on first poll and
4//! resolves when the completion arrives. Partial operations (`read_exact`, `write_exact`)
5//! retry automatically until the full buffer is transferred.
6
7mod close_file;
8mod list_dir;
9mod open_file;
10mod read_at;
11mod read_exact;
12mod remove_file;
13mod stat_file;
14mod sync_file;
15mod write_at;
16mod write_exact;
17
18pub use close_file::*;
19pub use list_dir::*;
20pub use open_file::*;
21pub use read_at::*;
22pub use read_exact::*;
23pub use remove_file::*;
24pub use stat_file::*;
25pub use sync_file::*;
26pub use write_at::*;
27pub use write_exact::*;
28
29#[cfg(test)]
30mod tests;