Skip to main content

BenchmarkSignerComponent

Trait BenchmarkSignerComponent 

Source
pub trait BenchmarkSignerComponent:
    Synchronous<I = SignerTopInput, O = SignerTopOutput>
    + Clone
    + Copy
    + Default
    + PartialEq
    + Debug { }
Expand description

Exact synchronous signer interface accepted by the benchmark engine.

Implementations are copyable type-level adapters. Their simulation state is carried by [Synchronous::S], while the adapter value selects whether HDL lowering expands the signer inline or leaves the separately generated production signer unresolved.

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> BenchmarkSignerComponent for T
where T: Synchronous<I = SignerTopInput, O = SignerTopOutput> + Clone + Copy + Default + PartialEq + Debug,