pub trait ExchangeRecordSign<R>: Sync + Send {
// Required methods
fn sign<S: SignerKey>(
self,
key: &S,
label: &str,
params: &SignatureParams,
) -> impl Future<Output = Result<Self, SignError>> + Send
where Self: Sized;
fn verify_sign<V: VerifierKey>(
self,
key: &V,
label: &str,
) -> impl Future<Output = Result<Self, VerificationError>> + Send
where Self: Sized;
}Required Methods§
fn sign<S: SignerKey>(
self,
key: &S,
label: &str,
params: &SignatureParams,
) -> impl Future<Output = Result<Self, SignError>> + Sendwhere
Self: Sized,
fn verify_sign<V: VerifierKey>(
self,
key: &V,
label: &str,
) -> impl Future<Output = Result<Self, VerificationError>> + Sendwhere
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".