pub fn read(&self, clear_dirty: bool) -> ReadGuard<'_, T> {
        let lock = self.lock.read();
        if clear_dirty {
            self.clear_dirty()
        }
        lock
    }
/// Access the inner contents without setting the dirty flag. The content
/// is readonly in this case.
Access the inner contents without setting the dirty flag. The content
is readonly in this case.
Access the inner contents without setting the dirty flag . The content is readonly in this case .
pub fn read(&self, clear_dirty: bool) -> ReadGuard<'_, T> {
        let lock = self.lock.read();
        if clear_dirty {
            self.clear_dirty()
        }
        lock
    }
pub fn read ( & self , clear_dirty : bool ) -> ReadGuard < ' _ , T > { let lock = self . lock . read ( ) ; if clear_dirty { self . clear_dirty ( ) } lock }
Access the inner contents without setting the dirty flag.
Access the inner contents without setting the dirty flag .
&self
clear_dirty
bool
&self
clear_dirty
bool