Skip to main content

TimeTagged

Trait TimeTagged 

Source
pub trait TimeTagged {
    // Required methods
    fn epoch(&self) -> Epoch;
    fn set_epoch(&mut self, epoch: Epoch);
}
Expand description

A trait allowing for something to have an epoch

Required Methods§

Source

fn epoch(&self) -> Epoch

Retrieve the Epoch

Source

fn set_epoch(&mut self, epoch: Epoch)

Set the Epoch

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§