mz_compute::logging::initialize

Trait ExtractTimestamp

Source
trait ExtractTimestamp: Clone + 'static {
    // Required method
    fn extract(&self) -> Timestamp;
}
Expand description

Helper trait to extract a timestamp from various types of timestamp used in rendering.

Required Methods§

Source

fn extract(&self) -> Timestamp

Extracts the timestamp from the type.

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 ExtractTimestamp for (Timestamp, Subtime)

Source§

impl ExtractTimestamp for Timestamp

Source§

impl ExtractTimestamp for Product<Timestamp, PointStamp<u64>>

Implementors§