feat(transport): port router to axum (#830)

This commit is contained in:
David Pedersen
2022-02-18 18:19:52 +01:00
committed by GitHub
parent 0f7344a75f
commit 6dfc20e1db
8 changed files with 151 additions and 315 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ pub fn generate<T: Service>(
B::Error: Into<StdError> + Send + 'static,
{
type Response = http::Response<tonic::body::BoxBody>;
type Error = Never;
type Error = std::convert::Infallible;
type Future = BoxFuture<Self::Response, Self::Error>;
fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {