pub struct BasicSpinMutexGuard<'a, T, const PAUSE: bool> { /* private fields */ }Expand description
A guard providing access to the data protected by a BasicSpinMutex.
The lock is automatically released when this guard is dropped.
Implementations§
Source§impl<'a, T, const PAUSE: bool> BasicSpinMutexGuard<'a, T, PAUSE>
impl<'a, T, const PAUSE: bool> BasicSpinMutexGuard<'a, T, PAUSE>
Trait Implementations§
Source§impl<'a, T, const PAUSE: bool> Deref for BasicSpinMutexGuard<'a, T, PAUSE>
impl<'a, T, const PAUSE: bool> Deref for BasicSpinMutexGuard<'a, T, PAUSE>
Source§impl<'a, T, const PAUSE: bool> DerefMut for BasicSpinMutexGuard<'a, T, PAUSE>
impl<'a, T, const PAUSE: bool> DerefMut for BasicSpinMutexGuard<'a, T, PAUSE>
Auto Trait Implementations§
impl<'a, T, const PAUSE: bool> Freeze for BasicSpinMutexGuard<'a, T, PAUSE>
impl<'a, T, const PAUSE: bool> !RefUnwindSafe for BasicSpinMutexGuard<'a, T, PAUSE>
impl<'a, T, const PAUSE: bool> Send for BasicSpinMutexGuard<'a, T, PAUSE>where
T: Send,
impl<'a, T, const PAUSE: bool> Sync for BasicSpinMutexGuard<'a, T, PAUSE>where
T: Send,
impl<'a, T, const PAUSE: bool> Unpin for BasicSpinMutexGuard<'a, T, PAUSE>
impl<'a, T, const PAUSE: bool> !UnwindSafe for BasicSpinMutexGuard<'a, T, PAUSE>
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