Home
last modified time | relevance | path

Searched refs:Router (Results 1 – 5 of 5) sorted by relevance

/tonic/tonic/src/service/
H A Drouter.rs15 router: axum::Router,
51 router: axum::Router::new().fallback(unimplemented), in default()
106 pub fn into_axum_router(self) -> axum::Router { in into_axum_router() argument
111 pub fn axum_router_mut(&mut self) -> &mut axum::Router { in axum_router_mut() argument
124 impl From<axum::Router> for RoutesBuilder {
125 fn from(router: axum::Router) -> Self { in from()
132 impl From<axum::Router> for Routes {
133 fn from(router: axum::Router) -> Self { in from()
H A Dmod.rs15 pub use axum::{body::Body as AxumBody, Router as AxumRouter};
/tonic/tonic/src/transport/server/
H A Dmod.rs140 pub struct Router<L = Identity> { struct
401 pub fn add_service<S>(&mut self, svc: S) -> Router<L> in add_service()
413 Router::new(self.clone(), Routes::new(svc)) in add_service()
425 pub fn add_optional_service<S>(&mut self, svc: Option<S>) -> Router<L> in add_optional_service()
438 Router::new(self.clone(), routes) in add_optional_service()
446 pub fn add_routes(&mut self, routes: Routes) -> Router<L> in add_routes()
450 Router::new(self.clone(), routes) in add_routes()
826 impl<L> Router<L> { implementation
833 impl<L> Router<L> { implementation
/tonic/tonic/
H A DCargo.toml134 "axum::routing::Router",
/tonic/
H A DCHANGELOG.md25 * **router:** Implement from axum::Router for Routes (#1863)
129 * **transport:** Add `Router::into_router` ([#1442](https://github.com/hyperium/tonic/issues/1442))…
471 * **transport:** Add `Router::into_service` ([#419](https://github.com/hyperium/tonic/issues/419)) …