GrpcRouterConfigurator

Trait GrpcRouterConfigurator 

Source
pub trait GrpcRouterConfigurator<C>: Send + Sync {
    // Required method
    fn configure_grpc_router<'life0, 'async_trait>(
        &'life0 self,
        route: GrpcRouter,
        ctx: C,
    ) -> Pin<Box<dyn Future<Output = Result<GrpcRouter, BoxedError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

A configurator that customizes or enhances a gRPC router.

Required Methods§

Source

fn configure_grpc_router<'life0, 'async_trait>( &'life0 self, route: GrpcRouter, ctx: C, ) -> Pin<Box<dyn Future<Output = Result<GrpcRouter, BoxedError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Configures the given gRPC router using the provided context.

Implementors§