Struct async_mwmr::KeyRef
source · pub struct KeyRef<'a, K>where
K: 'a,{
pub key: &'a K,
pub version: u64,
}
Expand description
A reference to a key.
Fields§
§key: &'a K
The key.
version: u64
The version of the key.
Implementations§
Auto Trait Implementations§
impl<'a, K> Freeze for KeyRef<'a, K>
impl<'a, K> RefUnwindSafe for KeyRef<'a, K>where
K: RefUnwindSafe,
impl<'a, K> Send for KeyRef<'a, K>where
K: Sync,
impl<'a, K> Sync for KeyRef<'a, K>where
K: Sync,
impl<'a, K> Unpin for KeyRef<'a, K>
impl<'a, K> UnwindSafe for KeyRef<'a, K>where
K: 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