You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create macros for writing Translator functions
The trait has a general implementation of Translator
like `impl Translator for PkTranslator where P::Sha256 ...`.
However, this blanket implementation has constraints on associated types
and makes it impossible to implement the trait for a generic type
downstream. Rust compiler does not support trait specialization yet,
so we should only provide a macro to ease implementation rather than
a blanket implementation that causes duplicate conflicts downstream
0 commit comments