pub fn new(keep_time: Duration) -> Self {
        ForkCache {
            keep_time,
            cache: HashMap::new(),
        }
    }
/// Create a new ForkCache which will call `on_expired` whenever a Fork expires from the cache.
Create a new ForkCache which will call `on_expired` whenever a Fork expires from the cache.
Create a new ForkCache which will call ` on_expired ` whenever a Fork expires from the cache .
pub fn new(keep_time: Duration) -> Self {
        ForkCache {
            keep_time,
            cache: HashMap::new(),
        }
    }
pub fn new ( keep_time : Duration ) -> Self { ForkCache { keep_time , cache : HashMap :: new ( ) , } }
Create a new ForkCache which will call `on_expired` whenever a Fork expires from the cache.
Create a new ForkCache which will call ` on_expired ` whenever a Fork expires from the cache .
keep_time
Duration