pub(crate) fn mock_clone(&self) -> Self {
        let crds = self.crds.read().unwrap().mock_clone();
        Self {
            crds: RwLock::new(crds),
            push: self.push.mock_clone(),
            pull: self.pull.mock_clone(),
        }
    }
// Only for tests and simulations.
Only for tests and simulations.
Only for tests and simulations .
pub(crate) fn mock_clone(&self) -> Self {
        let crds = self.crds.read().unwrap().mock_clone();
        Self {
            crds: RwLock::new(crds),
            push: self.push.mock_clone(),
            pull: self.pull.mock_clone(),
        }
    }
pub ( crate ) fn mock_clone ( & self ) -> Self { let crds = self . crds . read ( ) . unwrap ( ) . mock_clone ( ) ; Self { crds : RwLock :: new ( crds ) , push : self . push . mock_clone ( ) , pull : self . pull . mock_clone ( ) , } }
Only for tests and simulations.
Only for tests and simulations .
&self