Searched defs:Guard (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/rust/kernel/sync/ |
D | lock.rs | 133 pub struct Guard<'a, T: ?Sized, B: Backend> { struct 135 pub(crate) state: B::GuardState, argument 139 // SAFETY: `Guard` is sync when the data protected by the lock is also sync. argument 140 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} implementation 142 impl<T: ?Sized, B: Backend> Guard<'_, T, B> { impl 155 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> { implementation 164 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> { implementation 171 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> { implementation 178 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { implementation
|