pub struct RcuGuard<'a, T> { /* private fields */ }
Expand description
A guard that provides read access to a value in an RcuCell
.
When this guard is dropped, it will signal that the read operation
is complete, allowing the RcuCell
to manage its internal state
accordingly.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for RcuGuard<'a, T>
impl<'a, T> !RefUnwindSafe for RcuGuard<'a, T>
impl<'a, T> !Send for RcuGuard<'a, T>
impl<'a, T> !Sync for RcuGuard<'a, T>
impl<'a, T> Unpin for RcuGuard<'a, T>
impl<'a, T> !UnwindSafe for RcuGuard<'a, T>
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