| H A D | lock.rs | 106 pub struct Lock<T: ?Sized, B: Backend> { struct 122 // SAFETY: `Lock` can be transferred across thread boundaries iff the data it protects can. argument 123 unsafe impl<T: ?Sized + Send, B: Backend> Send for Lock<T, B> {} implementation 125 // SAFETY: `Lock` serialises the interior mutability it provides, so it is `Sync` as long as the 127 unsafe impl<T: ?Sized + Send, B: Backend> Sync for Lock<T, B> {} implementation 129 impl<T, B: Backend> Lock<T, B> { implementation 148 impl<B: Backend> Lock<(), B> { implementation 149 /// Constructs a [`Lock`] from a raw pointer. 171 impl<T: ?Sized, B: Backend> Lock<T, B> { 202 pub(crate) lock: &'a Lock< 170 impl<T: ?Sized, B: Backend> Lock<T, B> { global() implementation [all...] |