# Trait std::os::windows::fs::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§

source

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

Set the creation time of a file.

## Object Safety§

This trait is not object safe.

## Implementors§

source§

### impl FileTimesExt for FileTimes