Enum async_mwmr::EntryData
source · pub enum EntryData<K, V> {
Insert {
key: K,
value: V,
},
Remove(K),
}
Expand description
The data of the Entry
.
Variants§
Implementations§
Trait Implementations§
source§impl<K, V> CheapClone for EntryData<K, V>where
K: CheapClone,
V: CheapClone,
impl<K, V> CheapClone for EntryData<K, V>where
K: CheapClone,
V: CheapClone,
source§fn cheap_clone(&self) -> EntryData<K, V>
fn cheap_clone(&self) -> EntryData<K, V>
Returns a copy of the value.
Auto Trait Implementations§
impl<K, V> Freeze for EntryData<K, V>
impl<K, V> RefUnwindSafe for EntryData<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for EntryData<K, V>
impl<K, V> Sync for EntryData<K, V>
impl<K, V> Unpin for EntryData<K, V>
impl<K, V> UnwindSafe for EntryData<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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