Comments (2)
We got rid of the first warning:
warning: opaque type `impl warp::Filter + Clone + warp::filter::FilterBase<Extract = impl Reply, Error = Rejection>` does not satisfy its associated type bounds
--> src/api/routes.rs:50:63
|
50 | pub fn routes(tracker: &Arc<tracker::Tracker>) -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /home/josecelano/.cargo/registry/src/github.com-1ecc6299db9ec823/warp-0.3.3/src/filter/mod.rs:40:19
|
40 | type Extract: Tuple; // + Send;
| ----- this associated type bound is unsatisfied for `impl Reply`
|
= note: `#[warn(opaque_hidden_inferred_bound)]` on by default
help: add this bound
|
50 | pub fn routes(tracker: &Arc<tracker::Tracker>) -> impl Filter<Extract = impl warp::Reply + warp::generic::Tuple, Error = warp::Rejection> + Clone {
|
because we have merged the PR replacing the Warp API implementation with the new Axum implementation.
from torrust-tracker.
This will be fixed with #160
from torrust-tracker.
Related Issues (20)
- UDP Tracker client: Print unrecognized responses
- HTTP Tracker client: Print unrecognized responses in JSON
- Serialization from Bencode to JSON
- Tracker Checker: Ouput in JSON
- Tracker Checker: Support different types of tracker addresses
- Tracker Checker: Improve errors. More concrete errors
- Tracker Checker: gracefully handle timeouts
- Tracker Checker: handle Health Check timeouts
- Tracker Checker: handle HTTP Tracker timeouts
- Refactor: `bit_torrent::tracker::http::client::Client` to return errors instead of panicking
- Refactor `bit_torrent::tracker::udp::client::UdpClient` to return errors instead of panicking
- Tracker Checker: handle UDP Tracker timeouts
- Tracker Checker: handle HTTP Tracker error `ConnectionRefused`
- Overhaul logging HOT 1
- Extract Tracker API Client packages
- Error building with rustc 1.78.0-nightly: unknown feature stdsimd
- Tracker API: log request and responses
- HTTP Tracker: log request and responses HOT 1
- UDP Tracker: refactor logs for request and responses
- Health Check API: log request and responses
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torrust-tracker.