Function tonic::service::interceptor_fn[][src]

pub fn interceptor_fn<F>(f: F) -> InterceptorLayer<F> where
    F: Interceptor
👎 Deprecated since 0.5.1:

Please use the interceptor function instead

Expand description

Create a new interceptor layer.

See Interceptor for more details.