Home
last modified time | relevance | path

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

/openbmc/linux/rust/kernel/sync/
H A Dlock.rs133 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> { implementation
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> { impl