Struct tonic::service::interceptor::InterceptorLayer [−][src]
pub struct InterceptorLayer<F> { /* fields omitted */ }
Expand description
A gRPC interceptor that can be used as a Layer
,
created by calling interceptor
.
See Interceptor
for more details.
Trait Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for InterceptorLayer<F> where
F: RefUnwindSafe,
impl<F> Send for InterceptorLayer<F> where
F: Send,
impl<F> Sync for InterceptorLayer<F> where
F: Sync,
impl<F> Unpin for InterceptorLayer<F> where
F: Unpin,
impl<F> UnwindSafe for InterceptorLayer<F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more