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
pub trait TimeTagged {
// Required methods
fn epoch(&self) -> Epoch;
fn set_epoch(&mut self, epoch: Epoch);
}
A trait allowing for something to have an epoch