pub trait RwLockExtra {
type Value: ?Sized;
// Required methods
fn read_unwrap(&self) -> RwLockReadGuard<'_, Self::Value>;
fn write_unwrap(&self) -> RwLockWriteGuard<'_, Self::Value>;
}pub trait RwLockExtra {
type Value: ?Sized;
// Required methods
fn read_unwrap(&self) -> RwLockReadGuard<'_, Self::Value>;
fn write_unwrap(&self) -> RwLockWriteGuard<'_, Self::Value>;
}