pub struct TableWriteGuard<'a, K, V, S = RandomState> { /* private fields */ }Expand description
A RAII guard, that provides read and write access to the Table entry’s value.
Created by the Table::get_mut method.
The guard keeps the corresponding Table shard locked for write until the guard is dropped.
Trait Implementations§
Source§impl<'a, K, V, S> Deref for TableWriteGuard<'a, K, V, S>
impl<'a, K, V, S> Deref for TableWriteGuard<'a, K, V, S>
Auto Trait Implementations§
impl<'a, K, V, S = RandomState> !Send for TableWriteGuard<'a, K, V, S>
impl<'a, K, V, S = RandomState> !UnwindSafe for TableWriteGuard<'a, K, V, S>
impl<'a, K, V, S> Freeze for TableWriteGuard<'a, K, V, S>
impl<'a, K, V, S> RefUnwindSafe for TableWriteGuard<'a, K, V, S>
impl<'a, K, V, S> Sync for TableWriteGuard<'a, K, V, S>
impl<'a, K, V, S> Unpin for TableWriteGuard<'a, K, V, S>
impl<'a, K, V, S> UnsafeUnpin for TableWriteGuard<'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