pub struct BaseSpinLockGuard<'a, G: BaseGuard, T: ?Sized + 'a> { /* private fields */ }Expand description
A guard that provides mutable data access.
When the guard falls out of scope it will release the lock.
Trait Implementations§
Source§impl<G: BaseGuard, T: ?Sized> Drop for BaseSpinLockGuard<'_, G, T>
impl<G: BaseGuard, T: ?Sized> Drop for BaseSpinLockGuard<'_, G, T>
Source§fn drop(&mut self)
fn drop(&mut self)
The dropping of the BaseSpinLockGuard will release the lock it was
created from.
Auto Trait Implementations§
impl<'a, G, T> Freeze for BaseSpinLockGuard<'a, G, T>
impl<'a, G, T> RefUnwindSafe for BaseSpinLockGuard<'a, G, T>
impl<'a, G, T> !Send for BaseSpinLockGuard<'a, G, T>
impl<'a, G, T> !Sync for BaseSpinLockGuard<'a, G, T>
impl<'a, G, T> Unpin for BaseSpinLockGuard<'a, G, T>
impl<'a, G, T> UnwindSafe for BaseSpinLockGuard<'a, G, 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