Function tonic::service::interceptor_fn
source · [−]pub fn interceptor_fn<F>(f: F) -> InterceptorLayer<F>where
F: Interceptor,
👎Deprecated since 0.5.1: Please use the
interceptor
function insteadExpand description
Create a new interceptor layer.
See Interceptor
for more details.