pub trait Signer<M>where
M: VerificationMethod,{
type MessageSigner;
// Required method
async fn for_method(
&self,
method: Cow<'_, M>,
) -> Result<Option<Self::MessageSigner>, SignatureError>;
}
Expand description
Verification method signer.
Required Associated Types§
type MessageSigner
Required Methods§
async fn for_method( &self, method: Cow<'_, M>, ) -> Result<Option<Self::MessageSigner>, SignatureError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.