pub struct RefOwned<K, V>(/* private fields */);Expand description
An owned RCU reference to a element removed from an RcuHashMap.
Implementations§
Trait Implementations§
impl<K: Send, V: Send> Send for RefOwned<K, V>
§Safety
It is safe to send to another thread if the underlying K and V are Send.
impl<K: Sync, V: Sync> Sync for RefOwned<K, V>
§Safety
It is safe to have references from multiple threads if the underlying K and V are Sync.
Auto Trait Implementations§
impl<K, V> Freeze for RefOwned<K, V>
impl<K, V> RefUnwindSafe for RefOwned<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Unpin for RefOwned<K, V>
impl<K, V> UnsafeUnpin for RefOwned<K, V>
impl<K, V> UnwindSafe for RefOwned<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