Trait Scheme

Source
pub trait Scheme: Signer + Verifier { }
Expand description

Implementation that can both sign and verify messages.

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.

Implementors§

Source§

impl<T> Scheme for T
where T: Signer + Verifier,

Blanket implementation of the Scheme trait for types that implement both the Signer and Verifier traits.