Lines Matching refs:MonotonicRawTime
745 pub struct MonotonicRawTime(i64);
747 impl MonotonicRawTime {
748 /// Constructs a new MonotonicRawTime
753 /// Returns the value of MonotonicRawTime in milliseconds as i64
758 /// Returns the integer value of MonotonicRawTime as i64
769 impl ToSql for MonotonicRawTime {
775 impl FromSql for MonotonicRawTime {
787 time_received: MonotonicRawTime,
791 fn new(auth_token: HardwareAuthToken, time_received: MonotonicRawTime) -> Self {
814 pub fn time_received(&self) -> MonotonicRawTime {
3160 MonotonicRawTime::now(),
3165 pub fn find_auth_token_entry<F>(&self, p: F) -> Option<(AuthTokenEntry, MonotonicRawTime)>
3173 pub fn insert_last_off_body(&self, last_off_body: MonotonicRawTime) {
3178 pub fn update_last_off_body(&self, last_off_body: MonotonicRawTime) {
3183 fn get_last_off_body(&self) -> MonotonicRawTime {
5430 db.insert_last_off_body(MonotonicRawTime::now());
5436 db.update_last_off_body(MonotonicRawTime::now());