Enum cap_primitives::fs::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) -> Self
[src]
pub fn from_std(std: SystemTimeSpec) -> Self
[src]Constructs a new instance of Self
from the given
fs_set_times::SystemTimeSpec
.
pub const fn into_std(self) -> SystemTimeSpec
[src]
pub const fn into_std(self) -> SystemTimeSpec
[src]Constructs a new instance of fs_set_times::SystemTimeSpec
from the
given Self
.
Trait Implementations
impl Debug for SystemTimeSpec
[src]
impl Debug for SystemTimeSpec
[src]impl From<SystemTime> for SystemTimeSpec
[src]
impl From<SystemTime> for SystemTimeSpec
[src]fn from(time: SystemTime) -> Self
[src]
fn from(time: SystemTime) -> Self
[src]Performs the conversion.