pub trait TimeSource {
// Required method
fn get_timestamp(&self) -> Timestamp;
}
Expand description
Things that impl this can tell you the current time.
Required Methods§
Sourcefn get_timestamp(&self) -> Timestamp
fn get_timestamp(&self) -> Timestamp
Returns the current time