Trait TimeMode

Source
pub trait TimeMode {
    // Provided method
    fn requires_timestamp() -> bool { ... }
}
Expand description

This trait captures whether the time is given explicitly through a timestamp or is indirectly obtained through measurements.

Provided Methods§

Source

fn requires_timestamp() -> bool

Returns whether the time TimeRepresentation require an explicit timestamp

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§