Struct chashmap::ReadGuard
[−]
[src]
pub struct ReadGuard<'a, K: 'a, V: 'a> { /* fields omitted */ }
A RAII guard for reading an entry of a hash map.
This is an access type dereferencing to the inner value of the entry. It will handle unlocking on drop.
Trait Implementations
impl<'a, K, V> Deref for ReadGuard<'a, K, V>
[src]
type Target = V
The resulting type after dereferencing
fn deref(&self) -> &V
The method called to dereference a value
impl<'a, K, V: PartialEq> PartialEq for ReadGuard<'a, K, V>
[src]
fn eq(&self, other: &ReadGuard<'a, K, V>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.