-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document the library #33
Comments
Regarding “Implement Service for |
Improving the general documentation around Tower is something I would like to drive. I have seen several cases on Twitter and Reddit where people say that Tower seems cool but they don't really understand it. I also remember thinking the same thing when I first came to Tower. I'm very open to suggestions about how to do this but my current plan is:
I don't imagine we can get all this done before Tower 0.5 so don't think it should block that release. |
This adds the first Tower guide called "Inventing the `Service` trait". It attempts to motivate all the parts to `Service` by walking the user through how they could have invented `Service` themselves, from scratch. It goes into quite a bit of detail but hopefully it paints a somewhat complete picture in the end. The next guide I want to write is about how to implement a proper `Timeout` middleware using `Layer`, pin-project, and all the bells and whistles. Ref: #33
This is a meta issue tracking concepts that should be included as part of the documentation.
poll_ready
->Err
(Define contract aroundService::poll_ready
returning errors. #43).Service + Clone
to allow moving an inner service into a response future.Service
forArc<MyType>
to get around&mut
requirement.The text was updated successfully, but these errors were encountered: