pub trait OpenOptionsExt2: Sealed {
// Required methods
fn freeze_last_access_time(&mut self, freeze: bool) -> &mut Self;
fn freeze_last_write_time(&mut self, freeze: bool) -> &mut Self;
}🔬This is a nightly-only experimental API. (
windows_freeze_file_times #149715)Available on Windows only.
Required Methods§
Sourcefn freeze_last_access_time(&mut self, freeze: bool) -> &mut Self
🔬This is a nightly-only experimental API. (windows_freeze_file_times #149715)
fn freeze_last_access_time(&mut self, freeze: bool) -> &mut Self
windows_freeze_file_times #149715)If set to true, prevent the “last access time” of the file from being changed.
Default to false.
Sourcefn freeze_last_write_time(&mut self, freeze: bool) -> &mut Self
🔬This is a nightly-only experimental API. (windows_freeze_file_times #149715)
fn freeze_last_write_time(&mut self, freeze: bool) -> &mut Self
windows_freeze_file_times #149715)If set to true, prevent the “last write time” of the file from being changed.
Default to false.
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.