Trait axum_server::service::SendService
source · [−]pub trait SendService<Request>: Sealed<Request> {
type Service: Service<Request, Response = Response<Self::Body>, Error = Self::Error, Future = Self::Future> + Send + 'static;
type Body: Body<Data = Self::BodyData, Error = Self::BodyError> + Send + 'static;
type BodyData: Send + 'static;
type BodyError: Into<Box<dyn Error + Send + Sync>>;
type Error: Into<Box<dyn Error + Send + Sync>>;
type Future: Future<Output = Result<Response<Self::Body>, Self::Error>> + Send + 'static;
fn into_service(self) -> Self::Service;
}