SDK: refactor `Signer` and `Signers` traits
Problem
See #34983
Summary of Changes
- Remove
Fromblanket impl forSigner - add
?Sizedtrait bound to blanket impl forSignerforBox<dyn Signer> - retain
Derefblanket impl forSigner - refactor
Signersto blanket impl for all types where their references implsIntoIteratoryieldingSignerrefs
Fixes #34983
Sorry for the lateness on the review: this comes in at a great time, since we're planning on moving to 2.0 and removing old stuff anyway, so we should be able to accept the breaking change of removing the blanket From impl.
The change looks good, and I'll be so happy to avoid having to write as_ref() everywhere, it's been such an annoyance for a long time.
Can you rebase your branch to see what breaks downstream?
Can you rebase your branch to see what breaks downstream?
Just merged master into this branch. Building takes too long on my machine so I'm just using the CI checks to see what breaks haha
Just merged master into this branch. Building takes too long on my machine so I'm just using the CI checks to see what breaks haha
We much prefer rebases to merge commits.