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
Provide SinkError
#213
Comments
cc #164, this'd likely be used there. Also a time to perhaps consider addition of a |
|
Does this request also mean that I wish tokio_service to land on crates.io soon, and with The idea described here and some kind of |
Would you be able to elaborate on "I don't think it can be useful in the current form"? Leaving your statement without any support doesn't provide much for us to understand your reasoning. |
@tailhook it sounds like you may want to open an issue on tokio-service? Perhaps that could be where we continue discussing For now I believe 0.1 of tokio-service is not blocked on this at all. |
@carllerche, @alexcrichton created an issue tokio-rs/tokio-service#5 |
@tailhook thanks! |
I believe this was basically done with sinks, so closing. |
This issue represents a discussion had in https://gitter.im/tokio-rs/tokio w/ @aturon.
At a high level, any type that has values pushed into it needs a way to return an error that contains this value in the event that it is not currently able to process the value (similar to
TrySendError
in std)The conclusion was to provide something like:
The text was updated successfully, but these errors were encountered: