torrust_tracker_clock/static_time/
mod.rs

1
2
3
4
5
6
7
8
//! It contains a static variable that is set to the time at which
//! the application started.
use std::time::SystemTime;

lazy_static! {
    /// The time at which the application started.
    pub static ref TIME_AT_APP_START: SystemTime = SystemTime::now();
}