Home
last modified time | relevance | path

Searched defs:Guard (Results 1 – 1 of 1) sorted by relevance

/linux/rust/kernel/sync/
H A Dlock.rs139 pub struct Guard<'a, T: ?Sized, B: Backend> { struct
141 pub(crate) state: B::GuardState, argument
145 // SAFETY: `Guard` is sync when the data protected by the lock is also sync. argument
146 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} implementation
148 impl<T: ?Sized, B: Backend> Guard<'_, T, B> { impl
161 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> { implementation
170 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> { implementation
177 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> { implementation
184 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { implementation