| 40 | |
| 41 | #[derive(Debug)] |
| 42 | struct Shared<K, Doc> |
| 43 | where |
| 44 | Doc: Clone + Send + Sync + 'static, |
| 45 | K: Clone |
| 46 | + PartialOrd |
| 47 | + Ord |
| 48 | + PartialEq |
| 49 | + Eq |
| 50 | + Hash |
| 51 | + Send |
| 52 | + 'static |
| 53 | { |
| 54 | state: Mutex<State<K, Doc>>, |
| 55 | background_task: Notify, |
| 56 | } |
| 57 | |
| 58 | #[derive(Debug)] |
| 59 | struct State<K, Doc> |
nothing calls this directly
no outgoing calls
no test coverage detected