Skip to content

Instantly share code, notes, and snippets.

View shaggysa's full-sized avatar

Gabriel Couchenour shaggysa

  • 12:02 (UTC -05:00)
View GitHub Profile
use crate::store::universal::TimeStamp;
use chrono::{DateTime, Duration, Utc};
use std::cell::Cell;
pub trait TimeProvider {
fn get_time(&self) -> TimeStamp;
}
pub struct DefaultTimeProvider;