pub trait SystemTimeExt {
// Required methods
fn ms_since_posix(&self) -> Result<i64>;
fn from_ms_since_posix(ms: i64) -> Result<SystemTime>;
}
Required Methods§
fn ms_since_posix(&self) -> Result<i64>
fn from_ms_since_posix(ms: i64) -> Result<SystemTime>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.