/// insert new value
/// remove history from deleted set
insert new value
remove history from deleted set
insert new value remove history from deleted set
pub fn insert(&mut self, key: K, value: V) -> Option<EpochCounter<V>>
        where
            K: Clone,
        {
            let mut epoch_value: EpochCounter<V> = value.into();
            epoch_value.set_epoch(self.epoch.epoch());
            self.map.insert(key, epoch_value)
        }
pub fn insert ( & mut self , key : K , value : V ) -> Option < EpochCounter < V > > where K : Clone , { let mut epoch_value : EpochCounter < V > = value . into ( ) ; epoch_value . set_epoch ( self . epoch . epoch ( ) ) ; self . map . insert ( key , epoch_value ) }
insert new value
remove history from deleted set
insert new value remove history from deleted set
&mut self
key
K
value
V