pub trait SchemeSigner<A>{
type Scheme: Scheme;
type Error: Error;
// Required method
fn sign(
&self,
payment: &PaymentSelection<A>,
) -> impl Future<Output = Result<<Self::Scheme as Scheme>::Payload, Self::Error>>;
}Expand description
Signer for a given payment scheme.
Required Associated Types§
Required Methods§
fn sign( &self, payment: &PaymentSelection<A>, ) -> impl Future<Output = Result<<Self::Scheme as Scheme>::Payload, Self::Error>>
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.