enum TimeUpdate {
Omit,
Set(SystemTime),
}Expand description
What a futimens timespec asks for: leave the timestamp alone (UTIME_OMIT) or set it.
Variants§
Omit
Set(SystemTime)
Trait Implementations§
Source§impl Clone for TimeUpdate
impl Clone for TimeUpdate
Source§fn clone(&self) -> TimeUpdate
fn clone(&self) -> TimeUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimeUpdate
Auto Trait Implementations§
impl DynSend for TimeUpdate
impl DynSync for TimeUpdate
impl Freeze for TimeUpdate
impl RefUnwindSafe for TimeUpdate
impl Send for TimeUpdate
impl Sync for TimeUpdate
impl Unpin for TimeUpdate
impl UnsafeUnpin for TimeUpdate
impl UnwindSafe for TimeUpdate
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
Omit: 0 bytesSet: 16 bytes