pub struct SpinLockGuard<'a, T: ?Sized> { /* private fields */ }Expand description
A guard that releases the SpinLock when dropped.
Trait Implementations§
Source§impl<T: ?Sized> Deref for SpinLockGuard<'_, T>
impl<T: ?Sized> Deref for SpinLockGuard<'_, T>
Source§impl<T: ?Sized> DerefMut for SpinLockGuard<'_, T>
impl<T: ?Sized> DerefMut for SpinLockGuard<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for SpinLockGuard<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for SpinLockGuard<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> !Send for SpinLockGuard<'a, T>
impl<'a, T> !Sync for SpinLockGuard<'a, T>
impl<'a, T> Unpin for SpinLockGuard<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for SpinLockGuard<'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