Searched defs:Guard (Results  1 – 1 of 1) sorted by relevance
| /rust/kernel/sync/ | 
| D | lock.rs | 163 pub struct Guard<'a, T: ?Sized, B: Backend> {  struct 165     pub(crate) state: B::GuardState,  argument 169 // SAFETY: `Guard` is sync when the data protected by the lock is also sync.  argument 170 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {}  implementation 172 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> {  implementation 190 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> {  implementation 199 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> {  implementation 206 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> {  implementation 213 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> {  implementation
  |