pub enum NewTimestamp {
NoChange,
Now,
Timestamp(Datetime),
}
Expand description
When setting a timestamp, this gives the value to set it to.
Variants§
NoChange
Leave the timestamp set to its previous value.
Now
Set the timestamp to the current time of the system clock associated with the filesystem.
Timestamp(Datetime)
Set the timestamp to the given value.
Trait Implementations§
Source§impl Clone for NewTimestamp
impl Clone for NewTimestamp
Source§fn clone(&self) -> NewTimestamp
fn clone(&self) -> NewTimestamp
Returns a copy 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 NewTimestamp
impl Debug for NewTimestamp
Source§impl From<NewTimestamp> for NewTimestamp
impl From<NewTimestamp> for NewTimestamp
Source§fn from(other: NewTimestamp) -> Self
fn from(other: NewTimestamp) -> Self
Converts to this type from the input type.
impl ComponentType for NewTimestamp
impl Copy for NewTimestamp
impl Lift for NewTimestamp
impl Lower for NewTimestamp
Auto Trait Implementations§
impl Freeze for NewTimestamp
impl RefUnwindSafe for NewTimestamp
impl Send for NewTimestamp
impl Sync for NewTimestamp
impl Unpin for NewTimestamp
impl UnwindSafe for NewTimestamp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self
file descriptor.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read more