MCPcopy Create free account
hub / github.com/blukai/haste / HandlerImpl

Class HandlerImpl

examples/messagehandler-experiment/handler.rs:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24struct HandlerImpl<S, M: prost::Message + Default, H: MessageHandler<S, M>> {
25 id: u32,
26 handler: Box<H>,
27 _phantom1: PhantomData<S>,
28 _phantom2: PhantomData<M>,
29}
30
31impl<S, M: prost::Message + Default, H: MessageHandler<S, M>> HandlerImpl<S, M, H> {
32 pub fn new(id: u32, handler: H) -> Box<Self> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected