Struct async_mwmr::EntryValue
source · pub struct EntryValue<V> {
pub version: u64,
pub value: Option<V>,
}
Expand description
A entry value
Fields§
§version: u64
The version of the entry.
value: Option<V>
The value of the entry.
Trait Implementations§
source§impl<V> CheapClone for EntryValue<V>where
V: CheapClone,
impl<V> CheapClone for EntryValue<V>where
V: CheapClone,
source§fn cheap_clone(&self) -> EntryValue<V>
fn cheap_clone(&self) -> EntryValue<V>
Returns a copy of the value.
source§impl<V> Clone for EntryValue<V>where
V: Clone,
impl<V> Clone for EntryValue<V>where
V: Clone,
source§fn clone(&self) -> EntryValue<V>
fn clone(&self) -> EntryValue<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 moreAuto Trait Implementations§
impl<V> Freeze for EntryValue<V>where
V: Freeze,
impl<V> RefUnwindSafe for EntryValue<V>where
V: RefUnwindSafe,
impl<V> Send for EntryValue<V>where
V: Send,
impl<V> Sync for EntryValue<V>where
V: Sync,
impl<V> Unpin for EntryValue<V>where
V: Unpin,
impl<V> UnwindSafe for EntryValue<V>where
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