Trait TimeModifiers

Source
pub trait TimeModifiers {
    // Required methods
    fn add_nanos(&self, amount: isize) -> Self;
    fn add_millis(&self, amount: isize) -> Self;
}

Required Methods§

Source

fn add_nanos(&self, amount: isize) -> Self

Source

fn add_millis(&self, amount: isize) -> Self

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.

Implementors§