MCPcopy Create free account
hub / github.com/Rustixir/darkbird / Setter

Interface Setter

src/darkbird/persistent_worker.rs:15–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14#[async_trait]
15pub 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]
26pub trait Getter<K, Doc> {

Callers

nothing calls this directly

Implementers 1

new_features_vsn2.rsexample/new_features_vsn2.rs

Calls

no outgoing calls

Tested by

no test coverage detected