Scheme

Trait Scheme 

Source
pub trait Scheme<D: Digest>: for<'a> Scheme<Subject<'a, D> = &'a Item<D>> { }
Expand description

Marker trait for signing schemes compatible with aggregation.

This trait binds a certificate::Scheme to the Item subject type used by the aggregation protocol. It is automatically implemented for any scheme whose subject type matches &'a Item<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<D: Digest, S> Scheme<D> for S
where S: for<'a> Scheme<Subject<'a, D> = &'a Item<D>>,