MCPcopy Create free account
hub / github.com/ddimaria/rust-blockchain-tutorial / on_request

Method on_request

chain/src/logger.rs:20–23  ·  view source on GitHub ↗
(&self, _t: TransportProtocol)

Source from the content-addressed store, hash-verified

18 }
19
20 fn on_request(&self, _t: TransportProtocol) -> Self::Instant {
21 tracing::info!("[Logger::on_request]");
22 Instant::now()
23 }
24
25 fn on_call(&self, name: &str, params: Params, kind: MethodKind, _t: TransportProtocol) {
26 tracing::info!(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected