Created
October 23, 2019 14:50
-
-
Save sfackler/ce702e32e093da692d980cdd3206f684 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0277]: the trait bound `Bd: std::marker::Unpin` is not satisfied in `server::idle::__unpin_scope_TrackedBody::__TrackedBody<'_, Bd>` | |
--> sorcery2/src/server/idle.rs:47:20 | |
| | |
47 | conn: http.serve_connection(io, service), | |
| ^^^^^^^^^^^^^^^^ within `server::idle::__unpin_scope_TrackedBody::__TrackedBody<'_, Bd>`, the trait `std::marker::Unpin` is not implemented for `Bd` | |
| | |
= help: consider adding a `where Bd: std::marker::Unpin` bound | |
= note: required because it appears within the type `server::idle::__unpin_scope_TrackedBody::__TrackedBody<'_, Bd>` | |
= note: required because of the requirements on the impl of `std::marker::Unpin` for `server::idle::TrackedBody<Bd>` | |
= note: required because of the requirements on the impl of `core::future::future::Future` for `hyper::proto::h2::server::H2Stream<server::idle::TrackedFuture<<S as tower_service::Service<http::request::Request<hyper::body::body::Body>>>::Future>, server::idle::TrackedBody<Bd>>` | |
= note: required because of the requirements on the impl of `hyper::common::exec::H2Exec<server::idle::TrackedFuture<<S as tower_service::Service<http::request::Request<hyper::body::body::Body>>>::Future>, server::idle::TrackedBody<Bd>>` for `hyper::common::exec::Exec` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment