Scheme

Trait Scheme 

Source
pub trait Scheme<P: PublicKey, D: Digest>: for<'a> Scheme<Subject<'a, D> = AckSubject<'a, P, D>, PublicKey = P> { }
Expand description

Marker trait for signing schemes compatible with ordered_broadcast.

This trait binds a certificate::Scheme to the AckSubject subject type used by the ordered broadcast protocol. It is automatically implemented for any scheme whose subject type matches AckSubject<'a, P, D>.

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<P: PublicKey, D: Digest, S> Scheme<P, D> for S
where S: for<'a> Scheme<Subject<'a, D> = AckSubject<'a, P, D>, PublicKey = P>,