title: iterating over dashmap stored in an arc
body: <pre><code>
  let dashMap:DashMap&lt;String,String&gt;:DashMap::new();
  
  // Then I put it into app_data of Actix to use it as a global variable, 
  // which is an Arc.
  
  // Then when I want to use it in iteration : 
  
  for item:RefMulti&lt;String,String&gt; in dashMap.into_iter() {
     ...
  }
  
  </code></pre>
  <p>I need to iterate the dashMap.
  I'm not sure what to do with <code>item</code> as it is <code>RefMulti</code> type. I was expecting (k,v)</p>
  <p>How would I access the key from iteration ?
  Is there a nice way to access the <code>(key, value)</code> pairs even from <code>RefMulti</code> ?</p>
  <p>[UPDATED WITH MRE]</p>
  <pre><code>//cargo.toml
  actix-web = { version = &quot;4.0.0-beta.6&quot;, features=[&quot;rustls&quot;] }
  dashmap = &quot;4.0.2&quot;
  </code></pre>
  <p><a href="https://gist.github.com/rust-play/2312d148dc93687e22c39ee8f33693c3" rel="nofollow noreferrer">[code]</a>  is a gist, couldn't post it here. was getting formatting errors</p>