pub struct WriteHandle<K, V, M = ()>{ /* private fields */ }
Implementations§
Source§impl<K, V, M> WriteHandle<K, V, M>
impl<K, V, M> WriteHandle<K, V, M>
pub fn insert(&mut self, k: K, v: V, uid: usize)
pub fn update(&mut self, k: K, v: V, uid: usize)
pub fn remove(&mut self, k: K, uid: usize)
pub fn add_user(&mut self, uid: usize)
pub fn remove_user(&mut self, uid: usize)
pub fn refresh()
pub fn empty(&mut self, k: K, uid: usize)
pub fn clear(&mut self, k: K, uid: usize)
pub fn empty_at_index(&mut self, k: K, uid: usize)
pub fn meta_get_and<F, T>( &self, key: &K, then: F, uid: usize, ) -> Option<(Option<T>, M)>
pub fn is_empty(&self) -> bool
Auto Trait Implementations§
impl<K, V, M> Freeze for WriteHandle<K, V, M>
impl<K, V, M> RefUnwindSafe for WriteHandle<K, V, M>
impl<K, V, M> Send for WriteHandle<K, V, M>
impl<K, V, M> Sync for WriteHandle<K, V, M>
impl<K, V, M> Unpin for WriteHandle<K, V, M>
impl<K, V, M> UnwindSafe for WriteHandle<K, V, M>
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