pub enum TimeOrNow {
SpecificTime(SystemTime),
Now,
}
Expand description
Possible input arguments for atime & mtime, which can either be set to a specified time, or to the current time
Variants§
Trait Implementations§
source§impl PartialEq for TimeOrNow
impl PartialEq for TimeOrNow
impl Copy for TimeOrNow
impl Eq for TimeOrNow
impl StructuralEq for TimeOrNow
impl StructuralPartialEq for TimeOrNow
Auto Trait Implementations§
impl RefUnwindSafe for TimeOrNow
impl Send for TimeOrNow
impl Sync for TimeOrNow
impl Unpin for TimeOrNow
impl UnwindSafe for TimeOrNow
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