| 13 | |
| 14 | #[async_trait] |
| 15 | pub trait Setter<K, Doc> { |
| 16 | async fn init(&self, session: &DatabaseSession); |
| 17 | async fn handle_setter( |
| 18 | &self, |
| 19 | session: &DatabaseSession, |
| 20 | key: &K, |
| 21 | document: &Doc, |
| 22 | ) -> Result<(), Stop>; |
| 23 | } |
| 24 | |
| 25 | #[async_trait] |
| 26 | pub trait Getter<K, Doc> { |
nothing calls this directly
no outgoing calls
no test coverage detected