pub trait FileTimesExt: Sealed {
// Required method
fn set_created(self, t: SystemTime) -> Self;
}
Expand description
OS-specific extensions to fs::FileTimes
.
Required Methods§
sourcefn set_created(self, t: SystemTime) -> Self
fn set_created(self, t: SystemTime) -> Self
Set the creation time of a file.
Object Safety§
This trait is not object safe.