use std::marker::PhantomData;
use std::time::Duration;
pub struct AsyncTimedCache<T> {
ttl: Duration,
_marker: PhantomData<T>,
}
impl<T: Clone + Send + Sync + 'static> AsyncTimedCache<T> {
pub fn new(ttl: Duration) -> Self {
Self {
ttl,
_marker: PhantomData,
}
}
}