Enum async_mwmr::EntryDataRef
source · pub enum EntryDataRef<'a, K, V> {
Insert {
key: &'a K,
value: &'a V,
},
Remove(&'a K),
}
Expand description
The reference of the EntryData
.
Variants§
Trait Implementations§
source§impl<'a, K, V> Clone for EntryDataRef<'a, K, V>
impl<'a, K, V> Clone for EntryDataRef<'a, K, V>
source§fn clone(&self) -> EntryDataRef<'a, K, V>
fn clone(&self) -> EntryDataRef<'a, K, V>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, K, V> Debug for EntryDataRef<'a, K, V>
impl<'a, K, V> Debug for EntryDataRef<'a, K, V>
impl<'a, K, V> Copy for EntryDataRef<'a, K, V>
Auto Trait Implementations§
impl<'a, K, V> Freeze for EntryDataRef<'a, K, V>
impl<'a, K, V> RefUnwindSafe for EntryDataRef<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, K, V> Send for EntryDataRef<'a, K, V>
impl<'a, K, V> Sync for EntryDataRef<'a, K, V>
impl<'a, K, V> Unpin for EntryDataRef<'a, K, V>
impl<'a, K, V> UnwindSafe for EntryDataRef<'a, K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
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