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

Class WriteToDatabase

example/migrate_to_another_database.rs:47–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47struct WriteToDatabase;
48#[async_trait]
49impl Handler<i64, User> for WriteToDatabase {
50 async fn handle(&self, session: &DatabaseSession, key: &i64, document: &User) -> Result<(), Stop> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected