(&self)
| 947 | } |
| 948 | |
| 949 | pub(crate) fn get_bytes(&self) -> PyMappedRwLockReadGuard<'_, [u8]> { |
| 950 | PyRwLockReadGuard::map(self.read(), |a| a.get_bytes()) |
| 951 | } |
| 952 | |
| 953 | pub(crate) fn get_bytes_mut(&self) -> PyMappedRwLockWriteGuard<'_, [u8]> { |
| 954 | PyRwLockWriteGuard::map(self.write(), |a| a.get_bytes_mut()) |
no test coverage detected