pub enum ChangeTimes {
AtimeOnly,
MtimeOnly,
Both,
}Expand description
Whether to set access time only, modification time only, or both
Variants§
AtimeOnly
Change only access time
MtimeOnly
Change only modification time
Both
Change both access and modification times
Trait Implementations§
Source§impl Clone for ChangeTimes
impl Clone for ChangeTimes
Source§fn clone(&self) -> ChangeTimes
fn clone(&self) -> ChangeTimes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChangeTimes
impl Debug for ChangeTimes
Source§impl PartialEq for ChangeTimes
impl PartialEq for ChangeTimes
impl Eq for ChangeTimes
impl StructuralPartialEq for ChangeTimes
Auto Trait Implementations§
impl Freeze for ChangeTimes
impl RefUnwindSafe for ChangeTimes
impl Send for ChangeTimes
impl Sync for ChangeTimes
impl Unpin for ChangeTimes
impl UnwindSafe for ChangeTimes
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