Trait std::os::windows::fs::FileTimesExt

source ·
pub trait FileTimesExt: Sealed {
    // Required method
    fn set_created(self, t: SystemTime) -> Self;
}
🔬This is a nightly-only experimental API. (file_set_times #98245)
Available on Windows only.
Expand description

fs::FileTimes 的 Windows 特定扩展。

Required Methods§

source

fn set_created(self, t: SystemTime) -> Self

🔬This is a nightly-only experimental API. (file_set_times #98245)

设置文件的创建时间。

Implementors§