Function tonic::service::interceptor::interceptor
source ยท pub fn interceptor<F>(f: F) -> InterceptorLayer<F>where
F: Interceptor,
Expand description
Create a new interceptor layer.
See Interceptor
for more details.