mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-16 00:00:12 +02:00
Add an `OpenOptions` struct to `tokio-fs` that mirrors the one found in `std`. Also provide a conversion from a `std` instance to a Tokio instance.
15 lines
448 B
Rust
15 lines
448 B
Rust
//! Asynchronous filesystem manipulation operations.
|
|
//!
|
|
//! This module contains basic methods and types for manipulating the contents
|
|
//! of the local filesystem from within the context of the Tokio runtime.
|
|
//!
|
|
//! Unlike *most* other Tokio APIs, the filesystem APIs **must** be used from
|
|
//! the context of the Tokio runtime as they require Tokio specific features to
|
|
//! function.
|
|
|
|
pub use tokio_fs::{
|
|
file,
|
|
File,
|
|
OpenOptions,
|
|
};
|