pub enum FileTime {
Now,
Omit,
FileTime(FileTime),
}Expand description
A wrapper enum around filetime::FileTime struct, but unlike the original, this
type allows the possibility of specifying FileTime::Now as a valid enumeration which,
in turn, if utimensat is available on the host, will use a special const setting
UTIME_NOW.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileTime
impl RefUnwindSafe for FileTime
impl Send for FileTime
impl Sync for FileTime
impl Unpin for FileTime
impl UnwindSafe for FileTime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more