pub fn trace_with<T, H, I, D, S, F>(
handler: H,
transform: F,
) -> MethodRouter<S, Infallible>where
H: CodecHandler<T, I, D, S> + Clone + Send + Sync + 'static,
I: Input + Send + Sync + 'static,
D: IntoCodecResponse + Send + 'static,
S: Clone + Send + Sync + 'static,
T: Sync + 'static,
F: FnOnce(TransformOperation<'_>) -> TransformOperation<'_>,
Expand description
Route trace
requests to the given handler. See axum::routing::trace
for more details.