/// An asynchronous function from `Request` to `Response`. pubtrait HttpService<ReqBody>: sealed::Sealed<ReqBody> { /// The `HttpBody` body of the `http::Response`. type ResBody: HttpBody;
/// The error type that can occur within this `Service`. /// /// Note: Returning an `Error` to a hyper server will cause the connection /// to be abruptly aborted. In most cases, it is better to return a `Response` /// with a 4xx or 5xx status code. type Error: Into<Box<dyn StdError + Send + Sync>>;
/// The `Future` returned by this `Service`. type Future: Future<Output = Result<Response<Self::ResBody>, Self::Error>>;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.