Trait FileTimesExt

1.75.0 ยท Source
pub trait FileTimesExt: Sealed {
    // Required method
    fn set_created(self, t: SystemTime) -> Self;
}
Available on Windows only.
Expand description

Windows-specific extensions to fs::FileTimes.

Required Methodsยง

1.75.0 ยท Source

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

Set the creation time of a file.

Dyn Compatibilityยง

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementorsยง

1.75.0 ยท Sourceยง

impl FileTimesExt for FileTimes