pub trait Configurator: Send + Sync {
// Provided methods
fn config_http(&self, route: HttpRouter) -> HttpRouter { ... }
fn config_grpc(&self, route: GrpcRouter) -> GrpcRouter { ... }
}
pub trait Configurator: Send + Sync {
// Provided methods
fn config_http(&self, route: HttpRouter) -> HttpRouter { ... }
fn config_grpc(&self, route: GrpcRouter) -> GrpcRouter { ... }
}