pub fn new_with(clock: Arc<dyn Clock>) -> Self {
        ExponentiallyDecayingReservoir {
            histogram: Mutex::new(ExponentialDecayHistogram::builder().at(clock.now()).build()),
            clock,
        }
    }
/// Creates a new reservoir using the provided [`Clock`] as its time source.
Creates a new reservoir using the provided [`Clock`] as its time source.
Creates a new reservoir using the provided [ ` Clock ` ] as its time source .
pub fn new_with(clock: Arc<dyn Clock>) -> Self {
        ExponentiallyDecayingReservoir {
            histogram: Mutex::new(ExponentialDecayHistogram::builder().at(clock.now()).build()),
            clock,
        }
    }
pub fn new_with ( clock : Arc < dyn Clock > ) -> Self { ExponentiallyDecayingReservoir { histogram : Mutex :: new ( ExponentialDecayHistogram :: builder ( ) . at ( clock . now ( ) ) . build ( ) ) , clock , } }
Creates a new reservoir using the provided [`Clock`] as its time source.
Creates a new reservoir using the provided [ ` Clock ` ] as its time source .
clock
Arc<dyn Clock>
clock
Arc<dyn Clock>