Enum cap_fs_ext::SystemTimeSpec [−][src]
pub enum SystemTimeSpec { SymbolicNow, Absolute(SystemTime), }
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.
Absolute(SystemTime)
An absolute time value.
Implementations
impl SystemTimeSpec
[src]
impl SystemTimeSpec
[src]pub fn from_std(std: SystemTimeSpec) -> SystemTimeSpec
[src]
pub fn from_std(std: SystemTimeSpec) -> SystemTimeSpec
[src]Constructs a new instance of Self
from the given
[fs_set_times::SystemTimeSpec
].
Trait Implementations
impl Debug for SystemTimeSpec
[src]
impl Debug for SystemTimeSpec
[src]impl From<SystemTime> for SystemTimeSpec
[src]
impl From<SystemTime> for SystemTimeSpec
[src]pub fn from(time: SystemTime) -> SystemTimeSpec
[src]
pub fn from(time: SystemTime) -> SystemTimeSpec
[src]Performs the conversion.