pub struct EventUTimes<'a> { /* private fields */ }
Available on crate feature
macos_10_15_1
and macOS only.Expand description
Change file access and modification times (e.g. via utimes(2))
Implementations§
Source§impl<'a> EventUTimes<'a>
impl<'a> EventUTimes<'a>
Sourcepub fn raw_atime(&self) -> timespec
pub fn raw_atime(&self) -> timespec
The desired new access time, in its raw form.
See also Self::atime()
Sourcepub fn atime(&self) -> SystemTime
pub fn atime(&self) -> SystemTime
The desired new access time.
See also Self::raw_atime()
Sourcepub fn raw_mtime(&self) -> timespec
pub fn raw_mtime(&self) -> timespec
The desired new modification time, in its raw form.
See also Self::mtime()
Sourcepub fn mtime(&self) -> SystemTime
pub fn mtime(&self) -> SystemTime
The desired new modification time.
See also Self::raw_mtime()
Trait Implementations§
Source§impl<'a> Debug for EventUTimes<'a>
impl<'a> Debug for EventUTimes<'a>
Source§impl<'a> Hash for EventUTimes<'a>
impl<'a> Hash for EventUTimes<'a>
Source§impl<'a> PartialEq for EventUTimes<'a>
impl<'a> PartialEq for EventUTimes<'a>
impl<'a> Eq for EventUTimes<'a>
impl Send for EventUTimes<'_>
impl Sync for EventUTimes<'_>
Auto Trait Implementations§
impl<'a> Freeze for EventUTimes<'a>
impl<'a> RefUnwindSafe for EventUTimes<'a>
impl<'a> Unpin for EventUTimes<'a>
impl<'a> UnwindSafe for EventUTimes<'a>
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