pub struct Guard { /* private fields */ }
Expand description
Evidence that the RCU read side lock is held on the current thread/CPU.
The type is explicitly not Send
because this property is per-thread/CPU.
Invariants
The RCU read side lock is actually held while instances of this guard exist.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Guard
impl !Send for Guard
impl !Sync for Guard
impl Unpin for Guard
impl UnwindSafe for Guard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more