Expand description
Utilities for using Tower services with Tonic.
Re-exports§
pub use self::recover_error::RecoverError;
pub use self::recover_error::RecoverErrorLayer;
Modules§
- interceptor
- gRPC interceptors which are a kind of middleware.
- recover_
error - Middleware which recovers from error.
Structs§
- Axum
Body - The body type used in axum requests and responses.
- Axum
Router - The router type for composing handlers and services.
- Interceptor
Layer - A gRPC interceptor that can be used as a
Layer
, - Layered
- A layered service to propagate
NamedService
implementation. - Routes
- A
Service
router. - Routes
Builder - Allows adding new services to routes by passing a mutable reference to this builder.
Traits§
- Interceptor
- A gRPC interceptor.
- Layer
Ext - Extension trait which adds utility methods to types which implement
tower_layer::Layer
.