Poll::ready was added as an experimental alternative to task::ready!, but was deemed to problematic because of the already existing Try implementations for Poll (see https://github.com/rust-lang/rust/issues/89780 for the relevant discussion). Fixing this would likely require changes over an edition, which seems unlikely after task::ready! was already stabilized, so I think we should just go ahead and remove Poll::ready.
Proposal
Poll::ready
was added as an experimental alternative totask::ready!
, but was deemed to problematic because of the already existingTry
implementations forPoll
(see https://github.com/rust-lang/rust/issues/89780 for the relevant discussion). Fixing this would likely require changes over an edition, which seems unlikely aftertask::ready!
was already stabilized, so I think we should just go ahead and removePoll::ready
.Pull request: https://github.com/rust-lang/rust/pull/107060