servers::configurator

Trait Configurator

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

Provided Methods§

Source

fn config_http(&self, route: HttpRouter) -> HttpRouter

Source

fn config_grpc(&self, route: GrpcRouter) -> GrpcRouter

Implementors§