pub struct EntryGuard<'a, V> { /* private fields */ }Expand description
Write guard for entry operations, holding structure write lock and value write lock 用于 entry 操作的写守护者,持有结构写锁和值的写锁
Requires structure write lock because it may involve insertion/removal operations 因为可能涉及插入/移除操作,需要结构写锁
Trait Implementations§
Source§impl<'a, V> AsMut<V> for EntryGuard<'a, V>
impl<'a, V> AsMut<V> for EntryGuard<'a, V>
Source§impl<'a, V> AsRef<V> for EntryGuard<'a, V>
impl<'a, V> AsRef<V> for EntryGuard<'a, V>
Source§impl<'a, V> Debug for EntryGuard<'a, V>where
V: Debug,
impl<'a, V> Debug for EntryGuard<'a, V>where
V: Debug,
Source§impl<'a, V> Deref for EntryGuard<'a, V>
impl<'a, V> Deref for EntryGuard<'a, V>
Source§impl<'a, V> DerefMut for EntryGuard<'a, V>
impl<'a, V> DerefMut for EntryGuard<'a, V>
Source§impl<'a, V> Display for EntryGuard<'a, V>where
V: Display,
impl<'a, V> Display for EntryGuard<'a, V>where
V: Display,
Source§impl<'a, V> PartialEq for EntryGuard<'a, V>where
V: PartialEq,
impl<'a, V> PartialEq for EntryGuard<'a, V>where
V: PartialEq,
impl<'a, V> Eq for EntryGuard<'a, V>where
V: Eq,
Auto Trait Implementations§
impl<'a, V> Freeze for EntryGuard<'a, V>
impl<'a, V> !RefUnwindSafe for EntryGuard<'a, V>
impl<'a, V> Send for EntryGuard<'a, V>
impl<'a, V> Sync for EntryGuard<'a, V>
impl<'a, V> Unpin for EntryGuard<'a, V>
impl<'a, V> !UnwindSafe for EntryGuard<'a, V>
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