MCPcopy Create free account
hub / github.com/Rust-Web-Development/code / OneshotHandler

Class OneshotHandler

ch_11/src/lib.rs:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13pub mod types;
14
15pub struct OneshotHandler {
16 pub sender: Sender<i32>,
17}
18
19async fn build_routes(store: store::Store) -> impl Filter<Extract = impl Reply> + Clone {
20 let store_filter = warp::any().map(move || store.clone());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected