pub fn set_times<P: AsRef<Path>>(
    path: P,
    atime: Option<SystemTimeSpec>,
    mtime: Option<SystemTimeSpec>
) -> Result<()>
Expand description

Set the last access and last modification timestamps of a file or other filesystem object.