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