pub enum UtimeSpec {
Now,
Omit,
Time(SystemTime),
}
Expand description
A file timestamp.
Variants§
Now
File timestamp is set to the current time.
Omit
The corresponding file timestamp is left unchanged.
Time(SystemTime)
File timestamp is set to value
Trait Implementations§
source§impl PartialEq for UtimeSpec
impl PartialEq for UtimeSpec
impl Copy for UtimeSpec
impl StructuralPartialEq for UtimeSpec
Auto Trait Implementations§
impl RefUnwindSafe for UtimeSpec
impl Send for UtimeSpec
impl Sync for UtimeSpec
impl Unpin for UtimeSpec
impl UnwindSafe for UtimeSpec
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