pub struct WriteGuard<'a, K: 'a, V: 'a, S> { /* private fields */ }
Expand description
A mutable 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§
Source§impl<'a, K, V, S> Deref for WriteGuard<'a, K, V, S>
impl<'a, K, V, S> Deref for WriteGuard<'a, K, V, S>
Source§impl<'a, K, V, S> DerefMut for WriteGuard<'a, K, V, S>
impl<'a, K, V, S> DerefMut for WriteGuard<'a, K, V, S>
Source§impl<'a, K, V: PartialEq, S> PartialEq for WriteGuard<'a, K, V, S>
impl<'a, K, V: PartialEq, S> PartialEq for WriteGuard<'a, K, V, S>
impl<'a, K, V: Eq, S> Eq for WriteGuard<'a, K, V, S>
Auto Trait Implementations§
impl<'a, K, V, S> Freeze for WriteGuard<'a, K, V, S>
impl<'a, K, V, S> !RefUnwindSafe for WriteGuard<'a, K, V, S>
impl<'a, K, V, S> Send for WriteGuard<'a, K, V, S>
impl<'a, K, V, S> Sync for WriteGuard<'a, K, V, S>
impl<'a, K, V, S> Unpin for WriteGuard<'a, K, V, S>
impl<'a, K, V, S> !UnwindSafe for WriteGuard<'a, K, V, S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more