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