You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tower_compat.rs
    path of file: ./repos/poem/poem/src/endpoint
    
    the code of the file until where you have to start completion: use std::{error::Error as StdError, future::Future};

use bytes::Bytes;
use http_body_util::BodyExt;
use
    
    async fn call(&self, req: Request) -> Result<Self::Output> {
        let mut svc = self.0.clone();

        svc.ready().await.map_err(Into::into)?;
        svc.call(req.into()).await.map_err(Into::into).map(|resp| {
            let (parts, body) = resp.into_parts();
            let body = body
                .map_frame(|frame| frame.map_data(Into::into))
                .map_err(std::io::Error::other)
                .boxed();
            hyper::Response::from_parts(parts, body).into()
        })
    }