Trait SystemTimeExt

Source
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§

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.

Implementations on Foreign Types§

Source§

impl SystemTimeExt for SystemTime

Implementors§