Enum cap_primitives::fs::SystemTimeSpec [−][src]
pub enum SystemTimeSpec {
SymbolicNow,
Absolute(SystemTime),
}
Expand description
A value for specifying a time.
Variants
A value which always represents the current time, in symbolic form, so that even as time elapses, it continues to represent the current time.
An absolute time value.
Tuple Fields of Absolute
0: SystemTime
Implementations
Constructs a new instance of Self
from the given
fs_set_times::SystemTimeSpec
.
Constructs a new instance of fs_set_times::SystemTimeSpec
from the
given Self
.
Trait Implementations
Performs the conversion.