pub fn meta_get<Q: ?Sized>(&self, key: &Q) -> Option<(Option<ReadGuard<'_, Values<V, S>>>, M)>
    where
        K: Borrow<Q>,
        Q: Hash + Eq,
    {
        let inner = self.handle.enter()?;
        if !inner.ready {
            return None;
        }
        let meta = inner.meta.clone();
        let res = ReadGuard::try_map(inner, |inner| inner.data.get(key).map(AsRef::as_ref));
        Some((res, meta))
    }
/// Returns a guarded reference to the values corresponding to the key along with the map
/// meta.
///
/// While the guard lives, changes to the map cannot be published.
///
/// The key may be any borrowed form of the map's key type, but `Hash` and `Eq` on the borrowed
/// form *must* match those for the key type.
///
/// Note that not all writes will be included with this read -- only those that have been
/// refreshed by the writer. If no refresh has happened, or the map has been destroyed, this
/// function returns `None`.
///
/// If no values exist for the given key, `Some(None, _)` is returned.
Returns a guarded reference to the values corresponding to the key along with the map
meta.

While the guard lives, changes to the map cannot be published.

The key may be any borrowed form of the map's key type, but `Hash` and `Eq` on the borrowed
form *must* match those for the key type.

Note that not all writes will be included with this read -- only those that have been
refreshed by the writer. If no refresh has happened, or the map has been destroyed, this
function returns `None`.

If no values exist for the given key, `Some(None, _)` is returned.
Returns a guarded reference to the values corresponding to the key along with the map meta . While the guard lives changes to the map cannot be published . The key may be any borrowed form of the map ' s key type but ` Hash ` and ` Eq ` on the borrowed form * must * match those for the key type . Note that not all writes will be included with this read -- only those that have been refreshed by the writer . If no refresh has happened or the map has been destroyed this function returns ` None ` . If no values exist for the given key ` Some ( None _ ) ` is returned .
pub fn meta_get<Q: ?Sized>(&self, key: &Q) -> Option<(Option<ReadGuard<'_, Values<V, S>>>, M)>
    where
        K: Borrow<Q>,
        Q: Hash + Eq,
    {
        let inner = self.handle.enter()?;
        if !inner.ready {
            return None;
        }
        let meta = inner.meta.clone();
        let res = ReadGuard::try_map(inner, |inner| inner.data.get(key).map(AsRef::as_ref));
        Some((res, meta))
    }
pub fn meta_get < Q : ? Sized > ( & self , key : & Q ) -> Option < ( Option < ReadGuard < ' _ , Values < V , S > > > , M ) > where K : Borrow < Q > , Q : Hash + Eq , { let inner = self . handle . enter ( ) ? ; if ! inner . ready { return None ; } let meta = inner . meta . clone ( ) ; let res = ReadGuard :: try_map ( inner , | inner | inner . data . get ( key ) . map ( AsRef :: as_ref ) ) ; Some ( ( res , meta ) ) }
Returns a guarded reference to the values corresponding to the key along with the map
meta.
Returns a guarded reference to the values corresponding to the key along with the map meta .
&self
key
&Q
&self
key
&Q