Type Alias tonic::service::interceptor::InterceptorFn
source · pub type InterceptorFn<F> = InterceptorLayer<F>;
👎Deprecated since 0.5.1: Please use the
InterceptorLayer
type insteadExpand description
A gRPC interceptor that can be used as a Layer
,
created by calling interceptor
.
See Interceptor
for more details.
Aliased Type§
struct InterceptorFn<F> { /* private fields */ }
Trait Implementations
source§impl<F: Clone> Clone for InterceptorLayer<F>
impl<F: Clone> Clone for InterceptorLayer<F>
source§fn clone(&self) -> InterceptorLayer<F>
fn clone(&self) -> InterceptorLayer<F>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more