Lucio Franco
Lucio Franco
👍 makes sense
@srikwit sounds good, let me know if you need any help!
I think we'd be open to it, Im not quite sure yet what the implications of it are. What is your use case where downcasting doesn't work?
You should be able to change `S` to be `S::Error: Into`
Yeah, that makes sense, we probably want to revisit `tower-test` at some point soon.
cc @olix0r
@olix0r By each request I mean request session, maybe that is a better way to word it. Aka we only clone the policy once iirc. So if you want data...
> the one thing I might consider is making the returned type T=() I'm thinking about token bucket use cases where the policy might want to take and then return...
Ok this is ready for another round of reviews, CI is only failing due to a rustc beta/nightly bug.
Am I going crazy but can't you just do this with `Buffer`? Right now the `tokio::spawn` is hard coded https://docs.rs/tower/0.4.8/src/tower/buffer/service.rs.html#76 but in theory you could use https://docs.rs/tokio/1.10.1/tokio/runtime/struct.Handle.html#method.enter maybe or we...