(&self)
| 94 | ID: Clone, |
| 95 | { |
| 96 | fn clone(&self) -> Self { |
| 97 | let inner = self.inner.read().unwrap(); |
| 98 | Registry { |
| 99 | inner: RwLock::new(RegistryInner { |
| 100 | elems: inner.elems.clone(), |
| 101 | }), |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | type GlobalCallback = RwLock<Vec<Box<dyn Fn(u64) + Send + Sync>>>; |
no outgoing calls
no test coverage detected