pub struct BatchLockGuard<'a, 'b, K: Eq + Hash + Clone> { /* private fields */ }
Expand description
RAII guard for multiple locked keys.
When this guard is dropped, all locks will be automatically released in the reverse order they were acquired.
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b, K> Freeze for BatchLockGuard<'a, 'b, K>
impl<'a, 'b, K> !RefUnwindSafe for BatchLockGuard<'a, 'b, K>
impl<'a, 'b, K> Send for BatchLockGuard<'a, 'b, K>
impl<'a, 'b, K> Sync for BatchLockGuard<'a, 'b, K>
impl<'a, 'b, K> Unpin for BatchLockGuard<'a, 'b, K>
impl<'a, 'b, K> !UnwindSafe for BatchLockGuard<'a, 'b, K>
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