Sha256: 5013826089a1cbd77a5002d1159c36f621dc7ccca03d958fcc7a5014077547ea
Contents?: true
Size: 463 Bytes
Versions: 41
Compression:
Stored size: 463 Bytes
Contents
use std::time::SystemTime; /// A value for specifying a time. #[derive(Debug)] pub enum SystemTimeSpec { /// A value which always represents the current time, in symbolic form, so /// that even as time elapses, it continues to represent the current time. SymbolicNow, /// An absolute time value. Absolute(SystemTime), } impl From<SystemTime> for SystemTimeSpec { fn from(time: SystemTime) -> Self { Self::Absolute(time) } }
Version data entries
41 entries across 39 versions & 1 rubygems