Crate tonic_async_interceptor

Source
Expand description

gRPC interceptors which are a kind of middleware.

See [Interceptor] for more details.

Structs§

AsyncInterceptedService
A service wrapped in an async interceptor middleware.
AsyncInterceptorLayer
A gRPC async interceptor that can be used as a Layer, created by calling async_interceptor.
AsyncResponseFuture
Response future for AsyncInterceptedService.
ResponseFuture
Response future for [InterceptedService].

Traits§

AsyncInterceptor
An async gRPC interceptor.

Functions§

async_interceptor
Create a new async interceptor layer.

Type Aliases§

Error