We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PayloadTypeDecodeError
Ideally, PayloadType would be defined something like:
PayloadType
type PayloadType: TryFrom<u8, Error: Error + Into<HeaderDecodeError<Self>>>;
This can be done now with associated type bound, but it results in a lot of unnecessary where clauses, so this is blocked on implied bounds.
where
The text was updated successfully, but these errors were encountered:
Into
From
Went a different route here and just moved into into a separate PayloadType trait .
Sorry, something went wrong.
No branches or pull requests
Ideally,
PayloadType
would be defined something like:This can be done now with associated type bound, but it results in a lot of unnecessary
where
clauses, so this is blocked on implied bounds.The text was updated successfully, but these errors were encountered: