I might be doing something wrong, but it genuinely suspect that the futures::Sink trait would be better off merging the poll_ready and start_send methods.
-
Show this thread
-
New method signature: fn poll_send( mut self: Pin<&mut Self>, waker: &Waker, item: Self::Item ) -> Poll<Result<(), Self::SinkError>> Current: https://docs.rs/futures-preview/0.3.0-alpha.13/futures/prelude/trait.Sink.html …
2 replies 0 retweets 1 likeShow this thread
Going back here: I was wrong and the first API actually makes sense -- as @stjepang pointed out. Oops oops; happy I asked tho.
2:36 AM - 2 Apr 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.