Enum fs_set_times::SystemTimeSpec
source · [−]pub enum SystemTimeSpec {
SymbolicNow,
Absolute(SystemTime),
}
Expand description
A value for specifying a time.
Variants
SymbolicNow
A value which always represents the current time, in symbolic form, so that even as time elapses, it continues to represent the current time.
Absolute(SystemTime)
An absolute time value.
Trait Implementations
sourceimpl Debug for SystemTimeSpec
impl Debug for SystemTimeSpec
sourceimpl From<SystemTime> for SystemTimeSpec
impl From<SystemTime> for SystemTimeSpec
sourcefn from(time: SystemTime) -> Self
fn from(time: SystemTime) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SystemTimeSpec
impl Send for SystemTimeSpec
impl Sync for SystemTimeSpec
impl Unpin for SystemTimeSpec
impl UnwindSafe for SystemTimeSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more