pub trait Signer: Sized {
type Error: From<SendError>;
type Future: Future<Output = (Self, Result<CryptoVec, Self::Error>)> + Send;
// Required method
fn auth_publickey_sign(
self,
key: &PublicKey,
to_sign: CryptoVec
) -> Self::Future;
}
Required Associated Types§
type Error: From<SendError>
type Future: Future<Output = (Self, Result<CryptoVec, Self::Error>)> + Send
Required Methods§
fn auth_publickey_sign( self, key: &PublicKey, to_sign: CryptoVec ) -> Self::Future
Object Safety§
This trait is not object safe.