fn try_lock_shared(&self) -> bool {
        let ret = self.inner.try_lock_shared();
        if let Some(shared) = &self.shared {
            if ret {
                shared.shared_count.fetch_add(1, Ordering::Relaxed);
            }
        }
        ret
    }
/// Attempts to acquire a shared lock without blocking.
Attempts to acquire a shared lock without blocking.
Attempts to acquire a shared lock without blocking .
fn try_lock_shared(&self) -> bool {
        let ret = self.inner.try_lock_shared();
        if let Some(shared) = &self.shared {
            if ret {
                shared.shared_count.fetch_add(1, Ordering::Relaxed);
            }
        }
        ret
    }
fn try_lock_shared ( & self ) -> bool { let ret = self . inner . try_lock_shared ( ) ; if let Some ( shared ) = & self . shared { if ret { shared . shared_count . fetch_add ( 1 , Ordering :: Relaxed ) ; } } ret }
Attempts to acquire a shared lock without blocking.
Attempts to acquire a shared lock without blocking .
&self
&self