pub fn new(instant: Instant) -> Self {
        Self {
            state: Arc::new(AccessRecorderInner {
                count: AtomicUsize::new(0),
                last_instant: AtomicInstant::new(instant),
            }),
        }
    }
/// Creates a new AccessRecorder with the provided creation Instant
Creates a new AccessRecorder with the provided creation Instant
Creates a new AccessRecorder with the provided creation Instant
pub fn new(instant: Instant) -> Self {
        Self {
            state: Arc::new(AccessRecorderInner {
                count: AtomicUsize::new(0),
                last_instant: AtomicInstant::new(instant),
            }),
        }
    }
pub fn new ( instant : Instant ) -> Self { Self { state : Arc :: new ( AccessRecorderInner { count : AtomicUsize :: new ( 0 ) , last_instant : AtomicInstant :: new ( instant ) , } ) , } }
Creates a new AccessRecorder with the provided creation Instant
Creates a new AccessRecorder with the provided creation Instant
instant
Instant
instant
Instant