[go: up one dir, main page]

Module service

Module service 

Source
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§

AxumBodyrouter
The body type used in axum requests and responses.
AxumRouterrouter
The router type for composing handlers and services.
InterceptorLayer
A gRPC interceptor that can be used as a Layer,
Layered
A layered service to propagate NamedService implementation.
Routesrouter
A Service router.
RoutesBuilderrouter
Allows adding new services to routes by passing a mutable reference to this builder.

Traits§

Interceptor
A gRPC interceptor.
LayerExt
Extension trait which adds utility methods to types which implement tower_layer::Layer.