Scheme

Trait Scheme 

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

Marker trait for signing schemes compatible with simplex.

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