pub fn with_capacity(idle: time::Duration, capacity: usize) -> Self {
        Self {
            idle,
            inner: Arc::new(RwLock::new(HashMap::with_capacity_and_hasher(
                capacity,
                BuildHasherDefault::default(),
            ))),
        }
    }
/// Creates a new cache with an initial capacity.
Creates a new cache with an initial capacity.
Creates a new cache with an initial capacity .
pub fn with_capacity(idle: time::Duration, capacity: usize) -> Self {
        Self {
            idle,
            inner: Arc::new(RwLock::new(HashMap::with_capacity_and_hasher(
                capacity,
                BuildHasherDefault::default(),
            ))),
        }
    }
pub fn with_capacity ( idle : time :: Duration , capacity : usize ) -> Self { Self { idle , inner : Arc :: new ( RwLock :: new ( HashMap :: with_capacity_and_hasher ( capacity , BuildHasherDefault :: default ( ) , ) ) ) , } }
Creates a new cache with an initial capacity.
Creates a new cache with an initial capacity .
idle
time::Duration
capacity
usize