pub trait SystemTimeExt {
// Required methods
fn ms_since_posix(&self) -> Result<i64, Error>;
fn from_ms_since_posix(ms: i64) -> Result<SystemTime, Error>;
}
Required Methods§
fn ms_since_posix(&self) -> Result<i64, Error>
fn from_ms_since_posix(ms: i64) -> Result<SystemTime, Error>
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.